-
Notifications
You must be signed in to change notification settings - Fork 10
/
setting.yaml
72 lines (72 loc) · 2.07 KB
/
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
apiVersion: v1alpha1
kind: Setting
metadata:
name: theme-vno-setting
spec:
forms:
- group: general
label: 首页设置
formSchema:
- $formkit: text
name: welcome_message
label: 欢迎信息
- $formkit: attachment
name: cover_image
label: 首页背景图片
- $formkit: select
name: cover_color
label: 首页背景颜色
value: red
options:
- value: blue
label: blue
- value: green
label: green
- value: purple
label: purple
- value: red
label: red
- value: orange
label: orange
- value: slate
label: slate
- value: empty
label: 空
- $formkit: text
name: blog_button_title
label: 博客按钮名称
value: Blog
- $formkit: text
name: blog_button_description
label: 博客按钮描述
value: Visit blog
- $formkit: repeater
name: social_media
label: 社交媒体
value: []
children:
- $formkit: text
name: icon
label: 图标
validation: "required"
help: "支持 Font Awesome 4.x 的图标,如 fa fa-github,详见 https://fontawesome.com/v4/icons/"
- $formkit: text
name: name
label: 名称
- $formkit: text
name: url
label: 链接
validation: "required"
- group: development
label: 开发设置
formSchema:
- $formkit: radio
name: enabled
label: 开发模式
value: false
help: 仅供开发环境使用,开启此设置后,所有静态资源由 Vite 开发服务器提供,所以需要在本地启动 Vite 服务(pnpm dev)
options:
- value: true
label: 开启
- value: false
label: 关闭