forked from liveblog/lb-theme-classic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.json
More file actions
277 lines (277 loc) · 8.82 KB
/
theme.json
File metadata and controls
277 lines (277 loc) · 8.82 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
{
"label": "Classic Theme",
"name": "classic",
"version": "3.2.73",
"author": "Edouard Richard <edouard.richard@sourcefabric.org>",
"repository": {
"type": "git",
"url": "git@github.com:liveblog/lb-theme-classic.git"
},
"license": "AGPL-3.0",
"extends": "angular",
"devStyles": [
"styles/reset.css",
"styles/embed.css",
"styles/dropdown.css",
"styles/justifiedGallery.min.css",
"styles/photoswipe.css",
"styles/default-skin/default-skin.css",
"https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic",
"https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"
],
"styles": [
"https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic",
"https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css",
"dist/styles.min.css"
],
"devScripts": [
"https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.3/angular-animate.min.js",
"https://cdnjs.cloudflare.com/ajax/libs/ngInfiniteScroll/1.2.2/ng-infinite-scroll.min.js",
"vendors/angular-gettext.js",
"vendors/jquery.justifiedGallery.min.js",
"vendors/photoswipe.min.js",
"vendors/photoswipe-ui-default.min.js",
"vendors/jquery.photoswipe-global.js",
"classic.js",
"main.js"
],
"scripts": [
"https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.3/angular-animate.min.js",
"https://cdnjs.cloudflare.com/ajax/libs/ngInfiniteScroll/1.2.2/ng-infinite-scroll.min.js",
"dist/scripts.min.js"
],
"options": [
{
"name": "language",
"label": "Theme language",
"type": "select",
"options": [
{
"value": "en",
"label": "English"
},
{
"value": "fi",
"label": "Finnish"
},
{
"value": "de",
"label": "Deutsch"
},
{
"value": "fr",
"label": "Français"
},
{
"value": "nl",
"label": "Nederlands"
},
{
"value": "no",
"label": "Norsk"
},
{
"value": "cs",
"label": "Čeština"
},
{
"value": "ro",
"label": "Română"
}
],
"default": "en"
},
{
"name": "postsPerPage",
"label": "Number of posts per page",
"type": "number",
"default": 20,
"help": "Set the number of posts you want to see per page"
},
{
"name": "postOrder",
"label": "Default posts order of the timeline",
"type": "select",
"options": [
{
"value": "editorial",
"label": "Editorial"
},
{
"value": "newest_first",
"label": "Newest first"
},
{
"value": "oldest_first",
"label": "Oldest first"
}
],
"default": "editorial"
},
{
"name": "loadNewPostsManually",
"label": "User needs to click a button to retrieve the new posts",
"type": "checkbox",
"default": true,
"help": "Otherwise they will be loaded periodically"
},
{
"name": "infinitScroll",
"label": "Use infinite scroll to load more pages",
"type": "checkbox",
"default": true,
"help": "if true, more pages are automatically loaded when the bottom of the page is reached. Otherwise a button is added at the bottom of the posts list"
},
{
"name": "showImage",
"label": "Show the blog image",
"type": "checkbox",
"default": true
},
{
"name": "showTitle",
"label": "Show the blog title",
"type": "checkbox",
"default": true
},
{
"name": "showDescription",
"label": "Show the blog description",
"type": "checkbox",
"default": true
},
{
"name": "showAuthor",
"label": "Show author",
"type": "checkbox",
"default": true,
"help": "Show the author information on posts"
},
{
"name": "showAuthorAvatar",
"label": "Show author avatar",
"type": "checkbox",
"default": true,
"dependsOn": {
"showAuthor": true
},
"help": "Show the author avatar on posts"
},
{
"name": "authorNameFormat",
"label": "Author name format",
"type": "select",
"default": "display_name",
"dependsOn": {
"showAuthor": true
},
"options": [
{
"value": "display_name",
"label": "Full name"
},
{
"value": "byline",
"label": "Byline"
},
{
"value": "sign_off",
"label": "Sign off"
}
],
"help": "How to show the author name"
},
{
"name": "authorNameLinksToEmail",
"label": "The author name links to email",
"type": "checkbox",
"default": false,
"dependsOn": {
"showAuthor": true
},
"help": "A click on the author name will create a new email to be sent to the author."
},
{
"name": "permalinkDelimiter",
"label": "Permalink delimiter",
"type": "select",
"options": [
{
"value": "?",
"label": "Query delimiter (?)"
},
{
"value": "#",
"label": " Fragment identifier delimiter (#)"
}
],
"default": "?",
"help": "Sets the delimiter used to send the permalink. ex: permalinkHashMark=?, http://example.com/?..."
},
{
"name": "canComment",
"label": "Users can comment",
"type": "checkbox",
"default": false,
"help": "If the users can comment on the blog"
},
{
"name": "hasHighlights",
"label": "Display highlights",
"type": "checkbox",
"default": false,
"help": "If the users see the highlight button in the blog"
},
{
"name": "blockSearchEngines",
"label": "Block search engines",
"type": "checkbox",
"default": false,
"help": "Block search engines from indexing my blogs"
},
{
"name": "showGallery",
"label": "Show slideshow gallery",
"type": "checkbox",
"default": false,
"help": "If the users will see the slideshow gallery for multiple images posts"
},
{
"name": "showSocialShare",
"label": "Show social sharing options",
"type": "checkbox",
"default": true,
"help": "If the users will see the social sharing options"
},
{
"name": "livestream",
"label": "Pinned post behaviour",
"type": "select",
"options": [
{
"value": false,
"label": "Show below menu bar"
},
{
"value": true,
"label": "Show above menu bar"
}
],
"default": false
},
{
"name": "livestreamAutoplay",
"label": "Autoplay for livestream videos",
"type": "checkbox",
"default": false,
"help": "if the users will see the video autoplay for livestream"
},
{
"name": "showSyndicatedAuthor",
"label": "Show syndicated author",
"type": "checkbox",
"default": false,
"help": "If the users will see the syndicated author"
}
]
}