This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
settings.yaml
353 lines (351 loc) · 10.3 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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
genernal:
label: 基本设置
items:
index_notice:
name: index_notice
label: 首页描述
type: textarea
default: '我看到那些岁月如何奔驰,挨过了冬季,便迎来了春天。——梭罗《瓦尔登湖》'
aWord_enabled:
name: aWord_enabled
label: 一言
type: switch
data-type: bool
default: false
description: '是否开启一言,开启后,首页描述为一言,默认关闭'
options:
- value: true
label: 开启
- value: false
label: 关闭
aWordType:
name: aWordType
label: 一言类型
type: select
default: 'd'
options:
- value: 'a'
label: 'a 动画'
- value: 'b'
label: 'b 漫画'
- value: 'c'
label: 'c 游戏'
- value: 'd'
label: 'd 文学'
- value: 'e'
label: 'e 原创'
- value: 'f'
label: 'f 来自网络'
- value: 'g'
label: 'g 其他'
- value: 'h'
label: 'h 影视'
- value: 'i'
label: 'i 诗词'
- value: 'j'
label: 'j 网易云'
- value: 'k'
label: 'k 哲学'
- value: 'l'
label: 'l 抖机灵'
aWordTypes:
name: aWordTypes
label: 一言类型多种组合(开启后,上面单类型将失效)
type: text
placeholder: '如:a,b'
description: 'a:动画,b:漫画'
aWordNum:
name: aWordNum
label: 一言最少字数
type: text
placeholder: '默认10个'
avatarLogo:
name: avatarLogo
label: 头像
type: attachment
record:
name: record
label: ICP备案号
type: text
placeholder: '填写ICP备案号'
record2img:
name: record2img
label: 备案图标
type: attachment
placeholder: '公安备案图标url(修改默认?)'
record2:
name: record2
label: 公安备案号
type: text
placeholder: '填写公安备案号'
sns:
label: 社交资料
items:
github:
name: github
label: GitHub
type: text
placeholder: '填入 GitHub 用户名'
email:
name: email
label: Email
type: text
placeholder: '填入邮箱地址'
bilibili:
name: bilibili
label: Bilibili
type: text
placeholder: '填入bilibili Uid'
telegram:
name: telegram
label: Telegram
type: text
placeholder: '填入 Telegram Id'
weibo:
name: weibo
label: 微博
type: text
placeholder: '填入微博 Id'
qq:
name: qq
label: QQ
type: text
placeholder: '填入 QQ 号'
twitter:
name: twitter
label: Twitter
type: text
placeholder: '填入 Twitter 用户名'
facebook:
name: facebook
label: Facebook
type: text
placeholder: '填入 Facebook 用户名'
instagram:
name: instagram
label: Instagram
type: text
placeholder: '填入 Instagram 用户名'
myrss:
name: myrss
label: 显示RSS
type: switch
data-type: bool
default: false
options:
- value: true
label: 开启
- value: false
label: 关闭
style:
label: 样式设置
items:
mdui_theme:
name: mdui_theme
label: 主题色
type: select
default: 'mdui-theme-primary-blue'
options:
- value: 'mdui-theme-primary-blue'
label: '宝石蓝'
- value: 'mdui-theme-primary-green'
label: '清新绿'
- value: 'mdui-theme-primary-red'
label: '姨妈红'
- value: 'mdui-theme-primary-pink'
label: '少女粉'
- value: 'mdui-theme-primary-purple'
label: '基佬紫'
- value: 'mdui-theme-primary-orange'
label: '大橘观'
- value: 'mdui-theme-primary-blue-grey'
label: '萧条灰'
- value: 'mdui-theme-primary-brown'
label: '低调棕'
- value: 'mdui-theme-primary-cyan'
label: '靛蓝青'
- value: 'mdui-theme-primary-custom'
label: '自定义'
description: '没有喜欢的主题色?你可以往下滑选择‘自定义’,然后在下面的颜色选择面板里配置适合自己的主题色'
theme_color:
name: theme_color
label: 主题色
type: color
default: '#ffe7ed'
description: '自定义主题色'
font_color:
name: font_color
label: 强调色
type: color
default: '#ffa1bb'
description: '自定义强调色'
indeximg:
name: indeximg
label: 镇站图
type: attachment
placeholder: '图片地址'
drawimg:
name: drawimg
label: 抽屉图
type: attachment
placeholder: '图片地址'
postlist_style:
name: postlist_style
label: 文章列表样式
type: select
default: 'style1'
options:
- value: 'style1'
label: '样式一'
- value: 'style2'
label: '样式二'
code_css:
name: code_css
label: 代码样式
type: select
default: 'default'
data-type: string
options:
- value: "agate"
label: "agate"
- value: "androidstudio"
label: "androidstudio"
- value: "atom-one-dark"
label: "atom-one-dark"
- value: "default"
label: "default"
- value: "github"
label: "github"
- value: "github-dark"
label: "github-dark"
- value: "gradient-dark"
label: "gradient-dark"
- value: "gradient-light"
label: "gradient-light"
- value: "nord"
label: "nord"
- value: "/base16/nova"
label: "nova"
- value: "paraiso-light"
label: "paraiso-light"
- value: "/base16/material"
label: "material"
journal_background:
name: journal_background
label: 日志背景图
type: text
placeholder: '默认无图白色'
description: '填入背景图片url'
footerCenter_enabled:
name: footerCenter_enabled
label: 页脚内容居中
type: switch
data-type: bool
default: false
description: '是否开启?默认关闭'
options:
- value: true
label: 开启
- value: false
label: 关闭
journal_icon:
name: journal_icon
label: 应用栏日志图标
type: text
placeholder: 'self_improvement'
description: '填入字体图标名称(可以去 https://fonts.google.com/icons 获取)'
fun:
label: 功能设置
items:
dark_enabled:
name: dark_enabled
label: 黑暗模式
type: switch
data-type: bool
default: false
description: '是否开启黑暗模式,默认关闭'
options:
- value: true
label: 开启
- value: false
label: 关闭
autoDarkOpt:
name: autoDarkOpt
label: 自动黑暗模式
type: switch
data-type: bool
default: false
description: '开启后18点-6点区间内自动黑暗模式,默认关闭'
options:
- value: true
label: 开启
- value: false
label: 关闭
auto_headroom:
name: auto_headroom
label: 自动隐藏应用栏
type: switch
data-type: bool
default: false
options:
- value: true
label: 开启
- value: false
label: 关闭
postBlank_enabled:
name: postBlank_enabled
label: 文章页新窗口打开
type: switch
data-type: bool
default: false
description: '是否开启?默认关闭'
options:
- value: true
label: 开启
- value: false
label: 关闭
iconfont:
name: iconfont
label: iconfont图标
type: text
placeholder: '填入Font class CDN链接'
description: '通过iconfont自定义图标'
comment_js:
name: comment_js
label: 评论组件CDN
type: text
placeholder: '填入其他评论组件CDN'
description: '导入其他评论组件'
comment_darkClass:
name: comment_darkClass
label: 评论组件黑暗模式类选择器
type: text
placeholder: '默认dark'
description: '由于各个评论组件黑暗模式的类选择器不同,所以在这加个自定义'
custom_commentcss:
name: custom_commentcss
label: 自定义评论css
type: textarea
description: '在这你可自定义评论css,css选择器第一个为 .dark 用来适配夜间样式,例如:.dark .comment-form {...}'
post_copyrightText:
name: post_copyrightText
label: 文章底部许可协议说明
type: text
placeholder: '没有特殊需求可不填'
post_copyrightLink:
name: post_copyrightLink
label: 文章底部许可协议链接
type: text
placeholder: '没有特殊需求可不填'
like_post:
name: like_post
label: 文章点赞
type: switch
data-type: bool
default: false
description: '是否开启?默认关闭'
options:
- value: true
label: 开启
- value: false
label: 关闭