halo-theme-dream2.0-plus/annotation-setting.yaml
2024-04-23 08:27:32 +08:00

170 lines
4.4 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
generateName: annotation-setting-
spec:
targetRef:
group: content.halo.run
kind: Post
formSchema:
- $formkit: radio
name: enable_copyright
label: 开启文章版权声明
value: ""
help: '当前配置将覆盖主题中的默认配置。'
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- value: ""
label: 跟随默认配置
- $formkit: select
name: thumbnail_mode
label: 文章列表缩略图模式
value: ""
help: '文章在列表的缩略图模式,除网格布局外,当前配置将覆盖主题中的默认配置。'
options:
- value: default
label: 默认模式
- value: back
label: 背景图模式
- value: small
label: 小图模式(左侧)
- value: small-right
label: 小图模式(右侧)
- value: small-alter
label: 小图模式(交替)
- value: fold
label: 折叠模式
- value: ""
label: 跟随默认配置
- $formkit: text
name: tips
label: 文章提示
value: ""
placeholder: '请输入提示内容'
help: '在文章顶部显示一条提示。'
- $formkit: radio
name: enable_katex
label: KaTeX 公式支持
value: ""
help: '博客通过 KaTeX 做数学公式渲染,当前配置将覆盖主题中的默认配置。'
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- value: ""
label: 跟随默认配置
- $formkit: radio
name: enable_share
label: 开启文章分享
value: ""
help: '当前配置将覆盖主题中的默认配置。'
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- value: ""
label: 跟随默认配置
- $formkit: radio
name: enable_donate
label: 开启文章打赏
value: ""
help: '当前配置将覆盖主题中的默认配置。'
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- value: ""
label: 跟随默认配置
---
apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
generateName: annotation-setting-
spec:
targetRef:
group: content.halo.run
kind: SinglePage
formSchema:
- $formkit: radio
name: enable_copyright
label: 开启文章版权声明
value: ""
help: '当前配置将覆盖主题中的默认配置。'
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- value: ""
label: 跟随默认配置
- $formkit: text
name: tips
label: 文章提示
value: ""
placeholder: '请输入提示内容'
help: '在文章顶部显示一条提示。'
- $formkit: radio
name: enable_katex
label: KaTeX 公式支持
value: ""
help: '博客通过 KaTeX 做数学公式渲染,当前配置将覆盖主题中的默认配置。'
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- value: ""
label: 跟随默认配置
- $formkit: radio
name: enable_share
label: 开启文章分享
value: ""
help: '当前配置将覆盖主题中的默认配置。'
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- value: ""
label: 跟随默认配置
- $formkit: radio
name: enable_donate
label: 开启文章打赏
value: ""
help: '当前配置将覆盖主题中的默认配置。'
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- value: ""
label: 跟随默认配置
---
apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
generateName: annotation-setting-
spec:
targetRef:
group: ""
kind: MenuItem
formSchema:
- $formkit: "text"
name: "icon"
label: "图标"
placeholder: '请输入菜单图标支持RemixIcon'
- $formkit: "text"
name: "desc"
label: "描述"
placeholder: '请输入鼠标悬停时描述内容,默认为菜单名'