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] =?UTF-8?q?=E6=96=87=E7=AB=A0=E5=85=83=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0ai=E6=91=98=E8=A6=81=E6=8E=A7=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 @@ -