-
Notifications
You must be signed in to change notification settings - Fork 143
/
Copy pathannotation-setting.yaml
86 lines (80 loc) · 1.79 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
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: checkbox
name: randomImage
label: 使用随机封面
value: "true"
on-value: "true"
off-value: "false"
- $formkit: checkbox
name: original
label: 原创文章
value: "false"
on-value: "true"
off-value: "false"
- $formkit: checkbox
name: toc
label: 自动生成目录
value: "true"
on-value: "true"
off-value: "false"
---
apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
generateName: annotation-setting-
spec:
targetRef:
group: content.halo.run
kind: SinglePage
formSchema:
- $formkit: checkbox
name: randomImage
label: 使用随机图
value: "true"
on-value: "true"
off-value: "false"
- $formkit: checkbox
name: toc
label: 自动生成目录
value: "true"
on-value: "true"
off-value: "false"
---
apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
generateName: annotation-setting-
spec:
targetRef:
group: ""
kind: User
formSchema:
- $formkit: attachment
name: cover
label: 用户详情页封面图