forked from LIlGG/halo-theme-sakura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathannotation-setting.yaml
85 lines (82 loc) · 1.84 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
apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
generateName: annotation-setting-
spec:
targetRef:
group: ""
kind: MenuItem
formSchema:
- $formkit: "text"
name: "icon"
label: "图标"
help: "图标名称,支持所有 iconify 图标。例如 https://icones.netlify.app/"
- $formkit: "text"
name: "animation"
label: "动画"
help: "对图标所使用的微动画,支持的类型查看 https://l-lin.github.io/font-awesome-animation/#animation-list"
---
apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
generateName: annotation-setting-
spec:
targetRef:
group: content.halo.run
kind: Post
formSchema:
- $formkit: radio
name: randomImage
label: 使用随机图
value: "true"
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- $formkit: radio
name: original
label: 是否原创
value: "false"
options:
- value: "true"
label: 是
- value: "false"
label: 否
- $formkit: radio
name: toc
label: 自动生成目录
value: "true"
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
---
apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
generateName: annotation-setting-
spec:
targetRef:
group: content.halo.run
kind: SinglePage
formSchema:
- $formkit: radio
name: randomImage
label: 使用随机图
value: "true"
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭
- $formkit: radio
name: toc
label: 自动生成目录
value: "true"
options:
- value: "true"
label: 开启
- value: "false"
label: 关闭