From 568fdd79aaaffcea0ef0bb0d610945a5a9698c31 Mon Sep 17 00:00:00 2001 From: j m <1406993111@qq.com> Date: Fri, 14 Jun 2024 18:58:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=B8=BB=E9=A2=98=20?= =?UTF-8?q?=E5=8F=8B=E9=93=BE=E9=A1=B5=E9=9D=A2-=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E5=8C=BAID=20=E8=AE=BE=E7=BD=AE=E9=A1=B9=EF=BC=8C=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E7=94=B1=20=E9=93=BE=E6=8E=A5=20=E6=8F=90=E4=BE=9B?= =?UTF-8?q?=E7=9A=84=E8=AF=84=E8=AE=BA=E5=8C=BA=E9=85=8D=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E9=9C=80=E6=9B=B4=E6=96=B0=20=E9=93=BE=E6=8E=A5=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=20>=3D=201.4.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 5 ----- templates/links.html | 14 +++++++------- theme.yaml | 4 ++-- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/settings.yaml b/settings.yaml index 5251fad..a298999 100644 --- a/settings.yaml +++ b/settings.yaml @@ -1034,11 +1034,6 @@ spec: label: 开启 - value: false label: 关闭 - - $formkit: singlePageSelect - name: link_comment_id - label: 友链页面-评论区ID - placeholder: '请选择一个页面作为友链页面的评论区ID' - help: '友链页面没有 ID,需要指定一个自定义页面的 ID 用于评论,被指定的页面评论区将作为友链的评论区,未选择时则友链界面不显示评论区。' - $formkit: radio name: enable_tags_tag_color label: 标签页面-开启标签颜色 diff --git a/templates/links.html b/templates/links.html index 3d2a2a9..ef9a08c 100644 --- a/templates/links.html +++ b/templates/links.html @@ -1,7 +1,7 @@ + th:with="baseEnableComment = ${theme.config.page_config.link_enable_comment}">
@@ -51,18 +51,18 @@

评论

diff --git a/theme.yaml b/theme.yaml index 017a3f7..0479e45 100644 --- a/theme.yaml +++ b/theme.yaml @@ -30,9 +30,9 @@ spec: settingName: theme-dream2-plus-setting configMapName: theme-dream2-plus-configMap # 版本号 - version: 0.0.0.13 + version: 0.0.0.15 # 最低支持的 Halo 版本 - require: ">=2.12.0" + require: ">=2.15.0" # 许可 license: - name: "MIT"