-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
annotation-setting.yaml
169 lines (165 loc) · 4.45 KB
/
annotation-setting.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
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: "none"
help: '文章在列表的缩略图模式,除网格布局外,当前配置将覆盖主题中的默认配置。'
options:
- value: "default"
label: 默认模式
- value: "back"
label: 背景图模式
- value: "small"
label: 小图模式(左侧)
- value: "small-right"
label: 小图模式(右侧)
- value: "small-alter"
label: 小图模式(交替)
- value: "fold"
label: 折叠模式
- value: "none"
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: '请输入图标 class 内容'
- $formkit: "text"
name: "desc"
label: "描述"
placeholder: '请输入鼠标悬停时描述内容,默认为菜单名'