From a5f21be2f98c3b0cf22ab219027a427f923d39de Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Sat, 23 Sep 2023 13:37:32 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E6=96=87=E7=AB=A0=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/zhheo/zhheoblog.css | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index 746b9bde..0d121ee8 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -8642,6 +8642,7 @@ li { .recent-post-item .recent-post-info .recent-post-info-top .content { opacity: 1; -webkit-line-clamp: 2; + display: none; } #recent-posts .recent-post-item .recent-post-info .article-title { From 68e97454fc1c2c7dc8dda7814869f656604e32bd Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Sat, 23 Sep 2023 14:14:17 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=96=87=E7=AB=A0=E5=85=83=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=B7=BB=E5=8A=A0ai=E6=91=98=E8=A6=81=E6=8E=A7?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- annotation-setting.yaml | 9 +++++++++ templates/post.html | 6 ++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/annotation-setting.yaml b/annotation-setting.yaml index 93e4f281..fa28cd3e 100644 --- a/annotation-setting.yaml +++ b/annotation-setting.yaml @@ -7,6 +7,15 @@ spec: group: content.halo.run kind: Post formSchema: + - $formkit: "radio" + name: "ai" + label: "AI 摘要" + help: "默认后台设置" + options: + - label: "启用" + value: "true" + - label: "禁用" + value: "false" - $formkit: "radio" name: "copyrightEnable" id: "copyrightEnable" diff --git a/templates/post.html b/templates/post.html index f3f744a1..42688d6b 100644 --- a/templates/post.html +++ b/templates/post.html @@ -136,7 +136,8 @@ -