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 @@ -
+
AI-摘要
切换
@@ -159,7 +160,8 @@ -