generated from halo-dev/theme-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.yaml
160 lines (158 loc) · 4.5 KB
/
settings.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
apiVersion: v1alpha1
kind: Setting
metadata:
name: theme-pandapro-setting
spec:
forms:
- group: basic
label: 基础设置
formSchema:
- $formkit: attachment
name: logo
label: 普通模式logo
value: ""
- $formkit: attachment
name: logo_dark
label: 深色模式logo
value: ""
- $formkit: text
name: icp
label: 备案号
value: ""
- group: header
label: 顶部
formSchema:
- $formkit: menuRadio
name: menuItem
id: menuItem
key: menuItem
label: 导航栏菜单
value: ""
- group: index
label: 首页
formSchema:
- $formkit: repeater
name: banner
label: 幻灯片
value: [ ]
children:
- $formkit: attachment
name: imgUrl
label: 图片
value: ""
- $formkit: text
name: goUrl
label: 跳转链接
value: ""
- $formkit: repeater
name: card
label: 小卡片设置
value: [ ]
children:
- $formkit: attachment
name: imgUrl
label: 图片
value: ""
- $formkit: text
name: goUrl
label: 跳转链接
value: ""
- $formkit: text
name: cardName
label: 名称
value: ""
- $formkit: menuRadio
name: menuItem
label: 文章顶部菜单
value: ""
- group: footer
label: 底部
formSchema:
- $formkit: menuRadio
name: menuItem
label: 导航栏
value: ""
- group: post
label: 文章
formSchema:
- $formkit: radio
name: highlight
label: 是否开启默认代码块高亮
value: true
options:
- label: 开启
value: true
- label: 关闭
value: false
- group: personal
label: 个人信息
formSchema:
- $formkit: text
name: profileName
label: 名称,默认站点名
value: ""
- $formkit: text
name: profileDesc
label: 描述信息
value: "再美的梦也有苏醒的一天"
- $formkit: attachment
name: profileAvatar
label: 头像
value: ""
- $formkit: attachment
name: profileImg
label: 背景图
value: ""
- group: other
label: 其他
formSchema:
- $formkit: postSelect
name: randomPost
label: 推荐文章
value: ""
- $formkit: textarea
name: indexWidgets
label: 首页右侧小组件
value: "random,personal,hotPost,linePost,category,tag"
- $formkit: textarea
name: postWidgets
label: 文章右侧小组件
value: "random,personal,hotPost,linePost,category,tag,toc"
- $formkit: textarea
name: momentsWidgets
label: 瞬时右侧小组件
value: "random,personal,hotPost,linePost,category,tag"
- $formkit: textarea
name: categoryWidgets
label: 分类右侧小组件
value: "random,personal,hotPost,linePost,category,tag"
- $formkit: textarea
name: tagWidgets
label: 标签右侧小组件
value: "random,personal,hotPost,linePost,category,tag"
- $formkit: repeater
name: socials
id: socials
key: socials
label: 社交信息
value: [ ]
children:
- $formkit: select
name: socials_select
label: 平台
options:
- label: 微博
value: <i class="iconfont icon-weibo"></i>
- label: Email
value: <i class="iconfont icon-xinxi"></i>
- label: Github
value: <i class="iconfont icon-github"></i>
- label: Bilibili
value: <i class="iconfont icon-bilibili"></i>
- label: Youtube
value: <i class="iconfont icon-youtube"></i>
- label: Twitter
value: <i class="iconfont icon-twitter"></i>
- $formkit: text
name: socialUrl
label: 链接