From 2d5e5385435c10d9f9e58c83cd42217cd6cccaba Mon Sep 17 00:00:00 2001 From: zouap Date: Wed, 29 Dec 2021 16:31:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- public/home/home.js | 2 +- templates/base/footer.tmpl | 8 ++++++-- templates/base/head.tmpl | 6 ------ templates/base/head_home.tmpl | 7 ------- templates/home.tmpl | 2 +- 5 files changed, 8 insertions(+), 17 deletions(-) diff --git a/public/home/home.js b/public/home/home.js index 5097763f6..733d346e5 100644 --- a/public/home/home.js +++ b/public/home/home.js @@ -150,7 +150,7 @@ var actionNameEN={ var repoAndOrgZH={ "1":"项目", "2":"成员", - "3":"团队务" + "3":"团队" }; var repoAndOrgEN={ diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index f76aa5e7f..732f61ea5 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -12,7 +12,7 @@ {{template "base/footer_content" .}} - + {{if .RequireSimpleMDE}} @@ -37,7 +37,11 @@ {{if .RequireTribute}} {{end}} - +{{if .PageIsHome}} + +{{end}} + + {{template "custom/footer" .}} diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 214125d26..58b7c63c8 100755 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -186,12 +186,6 @@ var _hmt = _hmt || []; })(); - -{{if .PageIsHome}} - -{{end}} - - {{template "custom/body_outer_pre" .}} diff --git a/templates/base/head_home.tmpl b/templates/base/head_home.tmpl index ae82b06c3..90aa1b74b 100644 --- a/templates/base/head_home.tmpl +++ b/templates/base/head_home.tmpl @@ -187,13 +187,6 @@ var _hmt = _hmt || []; })(); - -{{if .PageIsHome}} - -{{end}} - - - diff --git a/templates/home.tmpl b/templates/home.tmpl index 7ba5642ce..da28f81f6 100755 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -143,7 +143,7 @@
- +