-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathinterface.json
262 lines (259 loc) · 10.7 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
[
{
"title": "Site Setup",
"title_zh_cn": "网站设置",
"groups": [
{
"title": "Site Info",
"title_zh_cn": "网站信息",
"cells": [
{
"parts_per_line": 2,
"parts": [
{
"key": "title",
"title": "Site Title",
"title_zh_cn": "网站标题",
"default_value": "My Site",
"model": "text"
},
{
"key": "domain",
"title": "Domain (independent domain points CNAME to park.farbox.com)",
"title_zh_cn": "域名 (独立域名CNAME需指向park.farbox.com)"
}
]
},
{
"parts_per_line": 1,
"parts":[
{
"key": "avatar",
"title": "Site Avatar URL",
"title_zh_cn": "网站头像地址",
"default_value": "a Image url",
"model": "text"
}
]
}
]
},
{
"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": "file_path",
"title": "Albums Root Path",
"title_zh_cn": "相册根目录",
"model": "select",
"options": "root"
}
]
}
]
},
{
"title":"Social Info",
"title_zh_cn":"社交信息",
"cells":[
{
"parts_per_line": 3,
"parts":[
{
"key": "twitter",
"title": "Twitter",
"default_value": "Twitter ID"
},
{
"key": "v2ex",
"title": "V2EX",
"default_value": "V2EX ID"
},
{
"key": "weibo",
"title": "Weibo",
"title_zh_cn": "微博",
"default_value": "Weibo ID"
},
{
"key": "disqus",
"title": "disqus",
"default_value": "Disqus Short Name"
},
{
"key": "github",
"title": "Github",
"default_value": "Github ID"
}
]
}
]
}
]
},
{
"title": "Advanced Setup",
"title_zh_cn": "高级设置",
"groups":[
{
"title":"Data Permission",
"title_zh_cn":"数据权限",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "comment",
"title": "Comments Allowed (if not checked, visitors can't comment on your posts or images)",
"title_zh_cn": "允许评论(如不勾选,则访客无法评论你的文章、图片)",
"model":"check",
"default_value": "yes"
},
{
"key": "open_st",
"title": "Open Statistics (caution, if opened, anyone can visit statistics data of your site)",
"title_zh_cn": "开放统计数据(请慎重,任何人都可以访问网站的访问数等统计数据)",
"model":"check"
}
]
}
]
},
{
"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
},
{
"key": "password_keep_long",
"title": "Remember the status of visitor's login for 180 days.",
"title_zh_cn":"记住访客的登录状态,最长180天。",
"model": "check"
}
]
}
]
},
{
"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
}
]
}
]
},
{
"title": "Insert Scripts",
"title_zh_cn":"插入脚本",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "scripts_per_page",
"title": "Insert following code into every page.",
"title_zh_cn": "将下面的代码插入到每个页面中",
"model":"textarea"
},
{
"key": "scripts_for_doc",
"title": "Insert following code into Doc(post/image) page.",
"title_zh_cn": "将下面的代码插入到文档(日志或图片)详细页中",
"model":"textarea"
}
]
}
]
},
{
"title": "Site Description",
"title_zh_cn":"网站描述",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "raw_content",
"model":"textarea"
}
]
}
]
}
]
}
]