From cafe34baa3ab9cfab8b4c4d8acf132b7006f737e Mon Sep 17 00:00:00 2001 From: nineya <361654768@qq.com> Date: Wed, 22 Mar 2023 18:29:26 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/common/config.html | 170 +++++++++++++++++----------------- templates/common/head.html | 4 +- templates/common/layout.html | 2 +- templates/common/scripts.html | 19 ++-- templates/index.html | 2 +- templates/widget/love.html | 12 ++- 6 files changed, 99 insertions(+), 110 deletions(-) diff --git a/templates/common/config.html b/templates/common/config.html index f6357d2..df935ff 100644 --- a/templates/common/config.html +++ b/templates/common/config.html @@ -1,105 +1,101 @@ - diff --git a/templates/common/layout.html b/templates/common/layout.html index 4a0ebf5..9a3bdbe 100644 --- a/templates/common/layout.html +++ b/templates/common/layout.html @@ -1,5 +1,5 @@ + th:fragment="layout (title, canonical, content, isPost)"> diff --git a/templates/common/scripts.html b/templates/common/scripts.html index f355d35..1536d90 100644 --- a/templates/common/scripts.html +++ b/templates/common/scripts.html @@ -8,12 +8,12 @@ - - + + - + @@ -37,9 +37,7 @@ - - - + @@ -48,10 +46,5 @@ - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 35d3995..2254cb5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,6 +1,6 @@ + th:replace="~{common/layout :: layout (title = ${site.title}, canonical = ${site.url}, content = ~{::content}, isPost = false)}"> 首页 diff --git a/templates/widget/love.html b/templates/widget/love.html index 60cbffa..f0a7fe4 100644 --- a/templates/widget/love.html +++ b/templates/widget/love.html @@ -1,4 +1,4 @@ -