From 226aa81eaa8c3d0e543e6937efc6889564b630af Mon Sep 17 00:00:00 2001 From: j m <1406993111@qq.com> Date: Sun, 7 Apr 2024 08:30:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E9=93=BE=E6=8E=A5=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BF=9D=E7=95=99=E9=BC=A0=E6=A0=87=E7=89=B9=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/common/head.html | 1 - templates/security_link.html | 8 ++++++-- theme.yaml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/templates/common/head.html b/templates/common/head.html index 27b82bc..59f815d 100644 --- a/templates/common/head.html +++ b/templates/common/head.html @@ -26,7 +26,6 @@ th:with="description=${isPost ? post != null ? post.status.excerpt : singlePage - diff --git a/templates/security_link.html b/templates/security_link.html index a84fe02..21c65b2 100644 --- a/templates/security_link.html +++ b/templates/security_link.html @@ -2,11 +2,15 @@ + url = ${#uris.unescapePath(urlCode)}, + title = ${singlePage.spec.title} + ' - ' + ${site.title}, + contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)}, + enableComment = false, isPost = false, canonical = ${theme.config.security_link_config.security_link_url}"> - + + diff --git a/theme.yaml b/theme.yaml index 1e32095..7b9ce8e 100644 --- a/theme.yaml +++ b/theme.yaml @@ -28,6 +28,6 @@ spec: settingName: theme-dream-setting configMapName: theme-dream-configMap # 版本号 - version: 1.0.5.13 + version: 1.0.5.20 # 最低支持的 Halo 版本 require: ">=2.6.0" \ No newline at end of file