forked from dillonzq/LoveIt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.yaml
More file actions
290 lines (260 loc) · 6.29 KB
/
settings.yaml
File metadata and controls
290 lines (260 loc) · 6.29 KB
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
general:
label: 基本设置
items:
rss:
name: rss
label: RSS
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
RobotsTXT:
name: RobotsTXT
label: robots.txt
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
GitInfo:
name: GitInfo
label: 是否使用 git 信息
type: radio
data-type: bool
default: false
options:
- value: true
label: 是
- value: false
label: 否
Emoji:
name: Emoji
label: 是否使用 emoji 代码
type: radio
data-type: bool
default: true
options:
- value: true
label: 是
- value: false
label: 否
style:
label: 样式设置
items:
title:
name: title
label: 标题
type: text
description: '当添加到 iOS 主屏幕或者 Android 启动器时的标题, 覆盖默认标题'
noFavicon:
name: noFavicon
label: 是否隐藏网站图标资源链接
type: radio
data-type: bool
default: false
options:
- value: true
label: 是
- value: false
label: 否
svgFavicon:
name: svgFavicon
label: SVG 网站图标
type: attachment
description: '更现代的 SVG 网站图标, 可替代旧的 .png 和 .ico 文件'
themeColor:
name: themeColor
label: 主题色
type: color
default: '#ffffff'
description: 'Android 浏览器主题色'
iconColor:
name: iconColor
label: Safari 图标颜色
type: color
default: '#5bbad5'
tileColor:
name: tileColor
label: 磁贴颜色
type: color
default: '#da532c'
description: 'Windows v8-10 磁贴颜色'
footer:
label: 页脚信息配置
items:
footer_enable:
name: footer_enable
label: 是否开启
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
footer_custom:
name: footer_custom
label: 自定义内容
type: text
default: '<a id="hitokoto">正在加载一言...</a><script src="https://v1.hitokoto.cn/?encode=js&select=%23hitokoto&c=d&c=e&c=j" defer></script>'
description: '自定义内容 (支持 HTML 格式)'
footer_halo:
name: footer_halo
label: 是否显示主题信息
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
footer_copyright:
name: footer_copyright
label: 是否显示版权信息
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
footer_author:
name: footer_copyright
label: 是否显示作者
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
footer_since:
name: footer_since
label: 网站创立年份
type: text
footer_icp:
name: footer_icp
label: ICP 备案信息
type: text
description: 'ICP 备案信息,仅在中国使用 (支持 HTML 格式)'
footer_license:
name: footer_license
label: 许可协议信息
type: text
description: '许可协议信息 (支持 HTML 格式)'
footer_music:
name: footer_music
label: 是否加音乐控件
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
footer_musiclist:
name: footer_musiclist
label: 自定义歌单
type: text
default: '<meting-js
fixed="true"
lrc-type="0"
order= "random"
preload="auto"
server="tencent"
type="playlist"
id="8186794433">
</meting-js>'
search:
label: 搜索设置
items:
enablesearch:
name: enablesearch
label: 是否开启
type: radio
data-type: bool
default: true
options:
- value: true
label: 是
- value: false
label: 否
typeSearch:
name: typeSearch
label: 搜索引擎类型
type: radio
default: lunr
options:
- value: lunr
label: lunr
contentLength:
name: contentLength
label: 最大索引长度
type: text
default: 4000
description: '文章内容最长索引长度'
placeholder:
name: placeholder
label: 占位提示语
type: text
default: ''
description: '搜索框的占位提示语'
maxResultLength:
name: maxResultLength
label: 最大结果数
type: text
default: 10
snippetLength:
name: snippetLength
label: 结果内容片段长度
type: text
default: 50
highlightTag:
name: highlightTag
label: 高亮标签
type: text
default: 'em'
description: '搜索结果中高亮部分的 HTML 标签'
absoluteURL:
name: absoluteURL
label: 是否使用绝对路径
type: radio
data-type: bool
default: false
options:
- value: true
label: 是
- value: false
label: 否
description: '是否在搜索索引中使用基于 baseURL 的绝对路径'
code:
label: 代码设置
items:
copy:
name: copy
label: 是否显示代码块的复制按钮
type: radio
data-type: bool
default: true
options:
- value: true
label: 是
- value: false
label: 否
maxShownLines:
name: maxShownLines
label: 默认展开显示的代码行数
type: text
default: 10