-
Notifications
You must be signed in to change notification settings - Fork 0
/
interface.json
581 lines (569 loc) · 24.8 KB
/
interface.json
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
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
[
{
"title": "Site",
"title_zh_cn": "网站设置",
"groups": [
{
"title": "Site Info",
"title_zh_cn": "网站信息",
"cells": [
{
"parts_per_line": 3,
"parts": [
{
"key": "title",
"title": "Site Title",
"title_zh_cn": "网站标题",
"default_value": "My Site",
"model": "text"
},
{
"title": "Site Keywords",
"title_zh_cn": "网站关键词",
"key": "keywords",
"model":"text"
},
{
"key": "avatar",
"title": "Site Avatar (drag image here to replace)",
"title_zh_cn": "网站头像 (拖入图片替换)",
"value": "/_image/avatar.jpg",
"model": "image",
"width": 120,
"height": 120
}
]
},
{
"parts_per_line": 1,
"parts":[
{
"title": "Site Description",
"title_zh_cn": "网站描述",
"key": "raw_content",
"model":"textarea"
},
{
"title": "Site's Cover (drag image here to replace)",
"title_zh_cn": "网站封面 (拖入图片替换)",
"key": "cover",
"model":"image",
"value": "/_image/cover.jpg",
"height": 120
}
]
}
]
},
{
"title": "Contents Display",
"title_zh_cn": "内容显示",
"cells":[
{
"parts_per_line": 3,
"parts":[
{
"key": "posts_per_page",
"title": "Posts per Page",
"title_zh_cn": "每页显示日志数",
"default_value": 3
},
{
"key": "post_content_type",
"title": "Post Content Type",
"title_zh_cn": "正文格式",
"model": "select",
"default_value": "markdown",
"options": [
{
"value": "markdown",
"title": "Markdown"
},
{
"value": "plain",
"title": "Plain Text with Images"
}
],
"options_zh_cn": [
{
"value": "markdown",
"title": "Markdown"
},
{
"value": "plain",
"title": "普通文本+图片"
}
]
},
{
"key": "post_paragraph_indent",
"title": "Paragraph Text Indent",
"title_zh_cn": "段落首行缩进",
"model": "select",
"default_value": "no",
"options": [
{
"value": "no",
"title": "No indent"
},
{
"value": "hard",
"title": "2 Letters Indent Every Line"
},
{
"value": "yes",
"title": "2 Letters Indent Every Paragraph"
}
],
"options_zh_cn": [
{
"value": "no",
"title": "不缩进"
},
{
"value": "hard",
"title": "每行缩进2字"
},
{
"value": "yes",
"title": "每段缩进2字"
}
]
},
{
"key": "file_path",
"title": "Albums Root Path",
"title_zh_cn": "相册根目录",
"model": "select",
"options": "root"
},
{
"key": "show_toc",
"title": "Table of Contents",
"title_zh_cn": "正文自动目录",
"model": "select",
"default_value": "no",
"options": [
{
"value": "no",
"title": "Not Display"
},
{
"value": "yes",
"title": "Display"
}
],
"options_zh_cn": [
{
"value": "no",
"title": "不显示"
},
{
"value": "yes",
"title": "显示"
}
]
},
{
"key": "mathjax",
"title": "Use MathJax",
"title_zh_cn": "使用MathJax",
"model": "select",
"default_value": "no",
"options": [
{
"value": "no",
"title": "No"
},
{
"value": "yes",
"title": "Yes"
}
],
"options_zh_cn": [
{
"value": "no",
"title": "不"
},
{
"value": "yes",
"title": "使用"
}
]
}
]
}
]
},
{
"title": "Social Comments",
"title_zh_cn": "第三方评论",
"cells":[
{
"parts_per_line": 2,
"parts": [
{
"key": "disqus",
"title": "Disqus",
"title_zh_cn": "Disqus",
"model": "text",
"default_value": "Disqus Shortname"
},
{
"key": "duoshuo",
"title": "DuoShuo",
"title_zh_cn": "多说",
"model": "text",
"default_value": "DuoShuo ID"
}
]
}
]
}
]
},
{
"title": "TemplateEngine",
"title_zh_cn": "模板引擎",
"groups":[
{
"title":"Runtime",
"title_zh_cn":"运行",
"cells":[
{
"parts_per_line": 3,
"parts":[
{
"key": "template_priority",
"title": "Template Priority",
"title_zh_cn": "模板优先级",
"model": "select",
"default_value": "auto",
"options": [
{
"value": "auto",
"title": "Auto"
},
{
"value": "self",
"title": "Custom Template"
},
{
"value": "default",
"title": "Default Template"
}
],
"options_zh_cn": [
{
"value": "auto",
"title": "自动"
},
{
"value": "self",
"title": "自定义模板"
},
{
"value": "default",
"title": "默认模板"
}
]
},
{
"key": "template_inherit",
"title": "Base Template Inherit",
"title_zh_cn": "基础模板继承",
"model": "select",
"default_value": "yes",
"options": [
{
"value": "yes",
"title": "Inherits Default Template"
},
{
"value": "no",
"title": "No Inherit"
}
],
"options_zh_cn": [
{
"value": "yes",
"title": "从默认模板继承"
},
{
"value": "no",
"title": "不继承"
}
]
},
{
"key": "template_clone_allowed",
"title": "Allow Template Clone",
"title_zh_cn": "允许模板克隆",
"model": "select",
"default_value": "yes",
"options": [
{
"value": "yes",
"title": "Allow Others Clone Template!"
},
{
"value": "no",
"title": "No Allowed"
}
],
"options_zh_cn": [
{
"value": "yes",
"title": "允许别人克隆模板"
},
{
"value": "no",
"title": "不允许"
}
]
},
{
"key": "autoreload",
"title": "AutoReload",
"title_zh_cn": "AutoReload",
"model": "select",
"default_value": "auto",
"options": [
{
"value": "auto",
"title": "Auto"
},
{
"value": "admin",
"title": "For Yourself Only"
},
{
"value": "yes",
"title": "For Everyone"
},
{
"value": "no",
"title": "Not Allowed"
}
],
"options_zh_cn": [
{
"value": "auto",
"title": "自动"
},
{
"value": "admin",
"title": "仅自己"
},
{
"value": "yes",
"title": "每个访客都有效"
},
{
"value": "no",
"title": "不允许"
}
]
}
]
}
]
},
{
"title": "Insert Scripts",
"title_zh_cn":"插入脚本",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "scripts_per_page",
"title": "Insert following code into every HTML page.",
"title_zh_cn": "将下面的代码插入到每个HTML页面中",
"model":"textarea"
},
{
"key": "scripts_for_doc",
"title": "Insert following code into Doc(post/image) page.",
"title_zh_cn": "将下面的代码插入到文档(日志或图片)详细页中",
"model":"textarea"
}
]
}
]
}
]
},
{
"title": "Advanced",
"title_zh_cn": "高级",
"groups":[
{
"title": "Feature",
"title_zh_cn": "功能",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "auto_image",
"title": "<small>beta</small> Make Images Vivider Automatically. <a href='http://demo-for.farbox.com/post/amazing-images-demo' target=_blank> demo </a>",
"title_zh_cn": "<small>beta</small> 自动美化照片. <a href='http://demo-for.farbox.com/post/amazing-images-demo' target=_blank> demo </a>",
"model":"check",
"default_value": "no"
}
]
},
{
"parts_per_line": 1,
"parts":[
{
"key": "nano",
"title": "<small>beta</small> Join Nano Network, Make Web Fast. <a href='http://status.farbox.org/service/nano-network' target=_blank> status </a>",
"title_zh_cn": "<small>beta</small> 加入Nano Network, 加速你的网站. <a href='http://status.farbox.org/service/nano-network' target=_blank> status </a>",
"model":"check",
"default_value": "no"
}
]
}
]
},
{
"title": "Data",
"title_zh_cn": "数据",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "comment",
"title": "Comments Allowed (if not, visitors can't comment on your posts or images).",
"title_zh_cn": "允许评论(如不勾选,则访客无法评论你的文章、图片)",
"model":"check",
"default_value": "yes"
},
{
"key": "sync_by_3rd",
"title": "Other people put data into your site will be allowed (in the `share` folder).",
"title_zh_cn": "允许其他人推送内容到你的网站(`share`目录下)",
"model":"check",
"default_value": "no"
},
{
"key": "sync_by_3rd_public",
"title": "No need to login when other people put data into your site.",
"title_zh_cn": "其他人推送内容时,无需登录",
"model":"check",
"default_value": "no"
}
]
},
{
"parts_per_line": 3,
"parts":[
{
"key": "weixin_token",
"title": "WeiXin Token",
"title_zh_cn": "微信公众平台Token",
"only_lang": "zh_cn"
}
]
}
]
},
{
"title":"Data Mining",
"title_zh_cn":"数据挖掘",
"cells":[
{
"parts_per_line": 3,
"parts":[
{
"key": "score_degree",
"title": "Hottest Sort Degree(days)",
"title_zh_cn": "热门排序维度(天)",
"default_value": 0.5
}
]
}
]
},
{
"title": "URLs Forbidden",
"title_zh_cn":"URLs禁止访问",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "hidden_urls",
"title": "URL Paths to be forbidden, one record one line, `the_path` or `the_path/*`",
"title_zh_cn": "如果访问路径为以下所示,将禁止访问,每行一条记录,`the_path`或`the_path/*`",
"model":"textarea",
"is_list": true
}
]
}
]
},
{
"title": "Passwords for Visitors",
"title_zh_cn":"访问密码",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "users",
"title": "Visitors must input the username and password to access, format is 'username@password', one record one line",
"title_zh_cn": "访客须输入用户名、密码才能访问,格式为'username@password', 每行一条记录 ",
"model":"textarea",
"is_list": true
}
]
}
]
}
]
},
{
"title": "Bind",
"title_zh_cn": "域名",
"groups":[
{
"title": "Bind Domain",
"title_zh_cn": "域名绑定",
"cells": [
{
"parts_per_line": 2,
"parts": [
{
"key": "domain",
"title": "Domain <a target='_blank' href='http://doc.farbox.com/read/domain'> need help?</a>",
"title_zh_cn": "域名 <a target='_blank' href='http://doc.farbox.com/read/domain'> need help?</a>"
}
]
}
]
},
{
"title": "Multi Domains Binding",
"title_zh_cn":"多域名绑定",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "domains",
"title": "one line one domain which needed to bind, no more than 10 lines.",
"title_zh_cn": "每行一条需绑定的域名,最多不超过10条",
"model":"textarea",
"is_list": true
}
]
}
]
}
]
}
]