浏览代码

移动favicon.ico到static目录

gsw945 3 年之前
父节点
当前提交
b00536f927

+ 1 - 1
.travis.yml

@@ -32,7 +32,7 @@ before_deploy:
   - rm -rf cache commands controllers converter .git .github graphics mail models routers utils runtime
   - ls -alh
   - cp conf/app.conf.example conf/app.conf
-  - zip -r mindoc_linux_amd64.zip conf static uploads views lib mindoc_linux_amd64 favicon.ico LICENSE.md
+  - zip -r mindoc_linux_amd64.zip conf static uploads views lib mindoc_linux_amd64 LICENSE.md
 
 deploy:
   provider: releases

+ 1 - 1
appveyor.yml

@@ -46,7 +46,7 @@ build_script:
     
     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%'"
     
-    7z a -t7z -r mindoc_windows_%GOARCH%.7z conf/*.conf* conf/lang/* static/* mindoc_windows_%GOARCH%.exe views/* uploads/* lib/* favicon.ico LICENSE.md
+    7z a -t7z -r mindoc_windows_%GOARCH%.7z conf/*.conf* conf/lang/* static/* mindoc_windows_%GOARCH%.exe views/* uploads/* lib/* LICENSE.md
 test_script:
 - cmd: >-
     cd c:\gopath\src\github.com\mindoc-org\mindoc

+ 1 - 1
build_amd64.sh

@@ -16,5 +16,5 @@ cp -r * ../mindoc_linux_amd64
 cd ../mindoc_linux_amd64
 rm -rf cache commands controllers converter .git .github graphics mail models routers utils runtime conf/*.go
 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
-zip -r mindoc_linux_amd64.zip conf static uploads views lib mindoc_linux_amd64 favicon.ico LICENSE.md
+zip -r mindoc_linux_amd64.zip conf static uploads views lib mindoc_linux_amd64 LICENSE.md
 mv ./mindoc_linux_amd64.zip ../

+ 1 - 1
build_musl_amd64.sh

@@ -16,5 +16,5 @@ cp -r * ../mindoc_linux_musl_amd64
 cd ../mindoc_linux_musl_amd64
 rm -rf cache commands controllers converter .git .github graphics mail models routers utils runtime conf/*.go
 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
-zip -r mindoc_linux_musl_amd64.zip conf static uploads views lib mindoc_linux_musl_amd64 favicon.ico LICENSE.md
+zip -r mindoc_linux_musl_amd64.zip conf static uploads views lib mindoc_linux_musl_amd64 LICENSE.md
 mv ./mindoc_linux_musl_amd64.zip ../

+ 0 - 0
favicon.ico → static/favicon.ico


+ 1 - 1
views/account/find_password_setp1.tpl

@@ -2,7 +2,7 @@
 <html lang="zh-cn">
 <head>
     <meta charset="utf-8">
-    <link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
+    <link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="renderer" content="webkit" />
     <meta name="viewport" content="width=device-width, initial-scale=1">

+ 1 - 1
views/account/find_password_setp2.tpl

@@ -2,7 +2,7 @@
 <html lang="zh-cn">
 <head>
     <meta charset="utf-8">
-    <link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
+    <link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="renderer" content="webkit" />
     <meta name="viewport" content="width=device-width, initial-scale=1">

+ 1 - 1
views/account/login.tpl

@@ -2,7 +2,7 @@
 <html lang="zh-cn">
 <head>
     <meta charset="utf-8">
-    <link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
+    <link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="renderer" content="webkit" />
     <meta name="viewport" content="width=device-width, initial-scale=1">

+ 1 - 1
views/account/register.tpl

@@ -2,7 +2,7 @@
 <html lang="zh-cn">
 <head>
     <meta charset="utf-8">
-    <link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
+    <link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="renderer" content="webkit" />
     <meta name="viewport" content="width=device-width, initial-scale=1">

+ 1 - 1
views/account/workweixin-login-callback.tpl

@@ -2,7 +2,7 @@
 <html lang="zh-cn">
 <head>
     <meta charset="utf-8">
-    <link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
+    <link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="renderer" content="webkit" />
     <meta name="viewport" content="width=device-width, initial-scale=1">

+ 1 - 1
views/blog/index_password.tpl

@@ -2,7 +2,7 @@
 <html lang="zh-cn">
 <head>
     <meta charset="utf-8">
-    <link rel="shortcut icon" href="{{cdnimg "favicon.ico"}}">
+    <link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="renderer" content="webkit" />
     <meta name="viewport" content="width=device-width, initial-scale=1">

+ 1 - 1
views/document/history.tpl

@@ -3,7 +3,7 @@
 <html lang="zh-cn">
 <head>
     <meta charset="utf-8">
-    <link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
+    <link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="renderer" content="webkit" />
     <meta name="viewport" content="width=device-width, initial-scale=1">

+ 1 - 1
views/errors/403.tpl

@@ -3,7 +3,7 @@
 <head>
     <meta charset="utf-8">
     <meta name="author" content="Minho" />
-    <link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
+    <link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="renderer" content="webkit" />
     <meta name="viewport" content="width=device-width, initial-scale=1">

+ 1 - 1
views/errors/404.tpl

@@ -3,7 +3,7 @@
 <head>
     <meta charset="utf-8">
     <meta name="author" content="Minho" />
-    <link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
+    <link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="renderer" content="webkit" />
     <meta name="viewport" content="width=device-width, initial-scale=1">

+ 1 - 1
views/errors/error.tpl

@@ -3,7 +3,7 @@
 <head>
     <meta charset="utf-8">
     <meta name="author" content="Minho" />
-    <link rel="shortcut icon" href="{{cdnimg "/favicon.ico"}}">
+    <link rel="shortcut icon" href="{{cdnimg "/static/favicon.ico"}}">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="renderer" content="webkit" />
     <meta name="viewport" content="width=device-width, initial-scale=1">