generated from halo-dev/theme-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yaml
281 lines (276 loc) · 8.39 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
apiVersion: v1alpha1
kind: Setting
metadata:
name: theme-vcard4-setting
spec:
forms:
- group: index
label: 个人资料
formSchema:
- $formkit: group
name: header_info
label: 站点资料
children:
- $formkit: attachment
name: header_info_img
label: 头像
help: 自定义头像, 未填写时与站点设置 `Logo` 同步
- $formkit: text
name: header_info_title
label: 标题
help: 自定义标题, 未填写时与站点设置 `站点标题` 同步
- $formkit: text
name: header_info_subtitle
label: 职业
help: 自定义职业, 未填写时与站点设置 `站点副标题` 同步
- $formkit: group
name: header_contact
label: 联系方式
help: 注意!为空时则不显示
children:
- $formkit: text
name: email
label: 📮邮箱
- $formkit: text
name: phone
label: 📱电话
- $formkit: text
name: birthday
label: 🎂生日
- $formkit: text
name: Location
label: 🌏地区
- $formkit: repeater
name: social
label: 社交媒体
max: 6
help: 为保证页面美观, 限制最多显示 6 个社交媒体
value:
- icon: logo-rss
name: RSS
url: /rss.xml
children:
- $formkit: select
name: icon
label: 图标
options:
- label: 微信
value: logo-wechat
- label: 抖音
value: logo-tiktok
- label: Steam
value: logo-steam
- label: Skype
value: logo-skype
- label: Linkedin
value: logo-linkedin
- label: Youtube
value: logo-youtube
- label: X
value: logo-twitter
- label: twitch
value: logo-twitch
- label: Facebook
value: logo-facebook
- label: Instagram
value: logo-instagram
- label: Telegram
value: paper-plane
- label: Github
value: logo-github
- label: RSS
value: logo-rss
- $formkit: text
name: name
label: 名称
- $formkit: text
name: url
label: 链接
validation: "required"
- group: about
label: 关于页
formSchema:
- $formkit: text
name: title
label: 标题
value: "关于我"
- $formkit: group
name: about_me
label: 个人介绍
children:
- $formkit: checkbox
name: switch
label: 是否显示此模块
value: true
- $formkit: repeater
name: content
label: 内容
value: [{"text":""}]
help: 个人介绍内容, 每个内容块为一个段落, 支持 HTML 语法
children:
- $formkit: code
name: text
value: ""
height: 100px
language: html
label: 新增内容
- $formkit: group
name: about_what
label: 开发项目
children:
- $formkit: checkbox
name: switch
label: 是否显示此模块
value: false
- $formkit: text
name: title
label: 标题
value: "项目"
- $formkit: repeater
name: content
label: 内容
value: [ ]
children:
- $formkit: text
name: title
label: 项目名称
- $formkit: attachment
name: images
label: 图标
- $formkit: text
name: url
label: 链接
- $formkit: code
name: text
value: ""
height: 60px
language: html
label: 描述
- $formkit: repeater
name: timeline
label: 时间线
value: [{"title":"教育经历","icon":"book-outline","content":[]},{"title":"工作经历","icon":"briefcase-outline","content":[]}]
children:
- $formkit: checkbox
name: switch
label: 是否显示此模块
value: false
- $formkit: text
name: title
label: 标题
- $formkit: text
name: icon
label: 图标
help: 请填写图标名称, 可参考 https://ionic.io/ionicons
- $formkit: repeater
name: content
label: 节点
value: [ ]
children:
- $formkit: text
name: name
label: 名称
- $formkit: text
name: time
label: 时间
- $formkit: code
name: text
value: ""
height: 50px
language: html
label: 简介
- $formkit: group
name: skills
label: 技能
children:
- $formkit: checkbox
name: switch
label: 是否显示此模块
value: true
- $formkit: text
name: title
label: 标题
value: "技能"
- $formkit: repeater
name: content
label: 新增内容
value: [ ]
children:
- $formkit: text
name: name
label: 名称
- $formkit: text
name: num
label: 百分比
- $formkit: group
name: about_evaluate
label: 评价
children:
- $formkit: checkbox
name: switch
label: 是否显示此模块
value: false
- $formkit: text
name: title
label: 标题
value: "评价"
- $formkit: repeater
name: content
label: 内容
value: [ ]
children:
- $formkit: text
name: name
label: 用户名
- $formkit: attachment
name: images
label: 头像
- $formkit: code
name: text
value: ""
height: 60px
language: html
label: 评价内容
- $formkit: group
name: about_clients
label: 合作客户
children:
- $formkit: checkbox
name: switch
label: 是否显示此模块
value: false
- $formkit: text
name: title
label: 标题
value: "合作客户"
- $formkit: repeater
name: content
label: 内容
value: [ ]
children:
- $formkit: text
name: name
label: 名称
- $formkit: text
name: url
label: 链接
- $formkit: attachment
name: images
label: Logo
- group: beian
label: 备案设置
formSchema:
- $formkit: text
name: icp_text
label: ICP备案号
- $formkit: text
name: icp_link
label: ICP备案跳转链接
value: https://beian.miit.gov.cn/
- $formkit: text
name: gongan_text
label: 公安联网备案号
- $formkit: text
name: gongan_link
label: 公安联网备案跳转链接
value: https://beian.mps.gov.cn/#/query/webSearch