Skip to content

Commit

Permalink
优化主题设置项
Browse files Browse the repository at this point in the history
  • Loading branch information
LIlGG committed Mar 29, 2024
1 parent ab984c2 commit 2106009
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 337 deletions.
41 changes: 8 additions & 33 deletions annotation-setting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,33 +26,18 @@ spec:
group: content.halo.run
kind: Post
formSchema:
- $formkit: radio
- $formkit: checkbox
name: randomImage
label: 使用随机图
label: 使用随机封面
value: "true"
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- $formkit: radio
- $formkit: checkbox
name: original
label: 是否原创
label: 原创文章
value: "false"
options:
- value: "true"
label:
- value: "false"
label:
- $formkit: radio
- $formkit: checkbox
name: toc
label: 自动生成目录
value: "true"
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭

---

Expand All @@ -65,21 +50,11 @@ spec:
group: content.halo.run
kind: SinglePage
formSchema:
- $formkit: radio
- $formkit: checkbox
name: randomImage
label: 使用随机图
value: "true"
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- $formkit: radio
- $formkit: checkbox
name: toc
label: 自动生成目录
value: "true"
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
value: "true"
Loading

0 comments on commit 2106009

Please sign in to comment.