Skip to content

Commit b00536f

Browse files
committed
移动favicon.ico到static目录
1 parent d5c5b62 commit b00536f

15 files changed

+14
-14
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ before_deploy:
3232
- rm -rf cache commands controllers converter .git .github graphics mail models routers utils runtime
3333
- ls -alh
3434
- cp conf/app.conf.example conf/app.conf
35-
- zip -r mindoc_linux_amd64.zip conf static uploads views lib mindoc_linux_amd64 favicon.ico LICENSE.md
35+
- zip -r mindoc_linux_amd64.zip conf static uploads views lib mindoc_linux_amd64 LICENSE.md
3636

3737
deploy:
3838
provider: releases

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ build_script:
4646
4747
go build -v -o "mindoc_windows_%GOARCH%.exe" -ldflags="-w -X github.com/mindoc-org/mindoc/conf.VERSION=%APPVEYOR_REPO_TAG_NAME% -X 'github.com/mindoc-org/mindoc/conf.BUILD_TIME=%date% %time%' -X 'github.com/mindoc-org/mindoc/conf.GO_VERSION=%GO_VERSION%'"
4848
49-
7z a -t7z -r mindoc_windows_%GOARCH%.7z conf/*.conf* conf/lang/* static/* mindoc_windows_%GOARCH%.exe views/* uploads/* lib/* favicon.ico LICENSE.md
49+
7z a -t7z -r mindoc_windows_%GOARCH%.7z conf/*.conf* conf/lang/* static/* mindoc_windows_%GOARCH%.exe views/* uploads/* lib/* LICENSE.md
5050
test_script:
5151
- cmd: >-
5252
cd c:\gopath\src\github.com\mindoc-org\mindoc

build_amd64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ cp -r * ../mindoc_linux_amd64
1616
cd ../mindoc_linux_amd64
1717
rm -rf cache commands controllers converter .git .github graphics mail models routers utils runtime conf/*.go
1818
rm appveyor.yml docker-compose.yml Dockerfile .travis.yml .gitattributes .gitignore go.mod go.sum main.go README.md simsun.ttc start.sh sync_host.sh build_amd64.sh build_musl_amd64.sh
19-
zip -r mindoc_linux_amd64.zip conf static uploads views lib mindoc_linux_amd64 favicon.ico LICENSE.md
19+
zip -r mindoc_linux_amd64.zip conf static uploads views lib mindoc_linux_amd64 LICENSE.md
2020
mv ./mindoc_linux_amd64.zip ../

build_musl_amd64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ cp -r * ../mindoc_linux_musl_amd64
1616
cd ../mindoc_linux_musl_amd64
1717
rm -rf cache commands controllers converter .git .github graphics mail models routers utils runtime conf/*.go
1818
rm appveyor.yml docker-compose.yml Dockerfile .travis.yml .gitattributes .gitignore go.mod go.sum main.go README.md simsun.ttc start.sh sync_host.sh build_amd64.sh build_musl_amd64.sh
19-
zip -r mindoc_linux_musl_amd64.zip conf static uploads views lib mindoc_linux_musl_amd64 favicon.ico LICENSE.md
19+
zip -r mindoc_linux_musl_amd64.zip conf static uploads views lib mindoc_linux_musl_amd64 LICENSE.md
2020
mv ./mindoc_linux_musl_amd64.zip ../
File renamed without changes.

views/account/find_password_setp1.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="zh-cn">
33
<head>
44
<meta charset="utf-8">
5-
<link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
5+
<link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
77
<meta name="renderer" content="webkit" />
88
<meta name="viewport" content="width=device-width, initial-scale=1">

views/account/find_password_setp2.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="zh-cn">
33
<head>
44
<meta charset="utf-8">
5-
<link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
5+
<link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
77
<meta name="renderer" content="webkit" />
88
<meta name="viewport" content="width=device-width, initial-scale=1">

views/account/login.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="zh-cn">
33
<head>
44
<meta charset="utf-8">
5-
<link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
5+
<link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
77
<meta name="renderer" content="webkit" />
88
<meta name="viewport" content="width=device-width, initial-scale=1">

views/account/register.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="zh-cn">
33
<head>
44
<meta charset="utf-8">
5-
<link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
5+
<link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
77
<meta name="renderer" content="webkit" />
88
<meta name="viewport" content="width=device-width, initial-scale=1">

views/account/workweixin-login-callback.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="zh-cn">
33
<head>
44
<meta charset="utf-8">
5-
<link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
5+
<link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
77
<meta name="renderer" content="webkit" />
88
<meta name="viewport" content="width=device-width, initial-scale=1">

0 commit comments

Comments
 (0)