From 425d2078497e88b408ed3e1955e4219084a35d04 Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Wed, 23 Aug 2023 00:56:48 +0800 Subject: [PATCH] =?UTF-8?q?head=E5=A4=B4=E9=83=A8=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/about.html | 6 +-- templates/album.html | 8 ++-- templates/archives.html | 6 +-- templates/assets/zhheo/blogex.js | 12 ------ templates/bangumis.html | 6 +-- templates/categories.html | 6 +-- templates/category.html | 5 ++- templates/comments.html | 8 ++-- templates/equipment.html | 6 +-- templates/fcircle.html | 6 +-- templates/index.html | 6 +-- templates/links.html | 6 +-- templates/modules/common/diytitle.html | 2 +- templates/modules/head.html | 60 +------------------------- templates/modules/layouts/layout.html | 15 ++++--- templates/modules/nav.html | 7 +-- templates/moments.html | 6 +-- templates/music.html | 6 +-- templates/page.html | 5 ++- templates/page_links.html | 6 +-- templates/photos.html | 6 +-- templates/post.html | 4 +- templates/tag.html | 6 +-- templates/tags.html | 8 ++-- templates/todolist.html | 6 +-- 25 files changed, 76 insertions(+), 142 deletions(-) diff --git a/templates/about.html b/templates/about.html index 662e537e..dc0fedfb 100644 --- a/templates/about.html +++ b/templates/about.html @@ -1,6 +1,6 @@ - + @@ -8,7 +8,7 @@
diff --git a/templates/album.html b/templates/album.html index 84371b59..94961ce7 100644 --- a/templates/album.html +++ b/templates/album.html @@ -1,6 +1,6 @@ - + @@ -8,7 +8,7 @@
@@ -26,7 +26,7 @@ + >

diff --git a/templates/archives.html b/templates/archives.html index 74f4b889..8b9a19b9 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -1,12 +1,12 @@ - +
diff --git a/templates/assets/zhheo/blogex.js b/templates/assets/zhheo/blogex.js index 9fefd0ec..10ab78af 100644 --- a/templates/assets/zhheo/blogex.js +++ b/templates/assets/zhheo/blogex.js @@ -168,17 +168,6 @@ function getContrastYIQ(hexcolor) { } } -//导航栏文章 -function navTitle() { - var titlevalue = document.title; - var postName = document.getElementsByClassName("post-title")[0]; - if(postName==null || postName==''){ - document.getElementById("page-name-text").innerHTML = titlevalue; - }else{ - document.getElementById("page-name-text").innerHTML = postName?.innerText; - } -} - window.onload = function () { var copybtnlist = document.getElementsByClassName("copybtn") for (var i = 0; i < copybtnlist.length; i++) { @@ -662,7 +651,6 @@ function listenToPageInputPress() { function initBlog() { // 图片主色 GLOBAL_CONFIG.source.post.dynamicBackground && coverColor(), - navTitle(), percent(), heo.topCategoriesBarScroll(), heo.initIndexEssay(), diff --git a/templates/bangumis.html b/templates/bangumis.html index 71e659b4..641fd935 100644 --- a/templates/bangumis.html +++ b/templates/bangumis.html @@ -1,13 +1,13 @@ - +
diff --git a/templates/categories.html b/templates/categories.html index 39828308..4e3f4146 100644 --- a/templates/categories.html +++ b/templates/categories.html @@ -1,12 +1,12 @@ - +
diff --git a/templates/category.html b/templates/category.html index e867d67f..1bcfb8d3 100644 --- a/templates/category.html +++ b/templates/category.html @@ -1,11 +1,12 @@ - +
diff --git a/templates/comments.html b/templates/comments.html index 0d318213..2c3ea39c 100644 --- a/templates/comments.html +++ b/templates/comments.html @@ -1,16 +1,14 @@ - +
- -
diff --git a/templates/equipment.html b/templates/equipment.html index de16b99b..01244871 100644 --- a/templates/equipment.html +++ b/templates/equipment.html @@ -1,6 +1,6 @@ - + @@ -8,7 +8,7 @@
diff --git a/templates/fcircle.html b/templates/fcircle.html index bb978bbd..6b4d8b9b 100644 --- a/templates/fcircle.html +++ b/templates/fcircle.html @@ -1,6 +1,6 @@ - + @@ -8,7 +8,7 @@
diff --git a/templates/index.html b/templates/index.html index 2c42bc07..f717c7ac 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,13 +1,13 @@ - +