generated from halo-dev/theme-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
annotation-setting.yaml
49 lines (46 loc) · 1019 Bytes
/
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
apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
name: theme-next-menuitem-1a34
spec:
targetRef:
group: ""
kind: MenuItem
formSchema:
# 菜单项扩展
- $formkit: "text"
name: "icon_class"
label: "图标样式 - Next"
---
# 文章元数据扩展 see https://theme-next.js.org/docs/advanced-settings/front-matter.html?highlight=sticky
apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
name: theme-next-post-1a34
spec:
targetRef:
group: "content.halo.run"
kind: Post
formSchema:
# 是否显示侧边栏
- $formkit: "select"
name: "sidebar"
help: ""
label: "是否显示侧边栏 - Next"
value: 1
options:
- label: 显示
value: 1
- label: 隐藏
value: 0
# huk
- $formkit: "select"
name: "direction"
help: ""
label: "direction - Next"
value: "0"
options:
- label: rtl
value: "rtl"
- label: 不设置
value: ""