-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathblueprints.yaml
executable file
·352 lines (323 loc) · 9.9 KB
/
blueprints.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
name: Future 2021
slug: future2021
type: theme
version: 2.0.0
description: Grav Future Imperfect by HTML5 UP (Version 2021)
icon: microchip
author:
name: Pedro Moreno
email: [email protected]
url:
homepage: https://github.com/pmoreno-rodriguez/grav-theme-future2021
demo: https://future2021.pmdesign.dev
keywords: future imperfect, html5up, theme, core, modern, fast, responsive, html5, css3
bugs: https://github.com/pmoreno-rodriguez/grav-theme-future2021/issues
license: CC-BY-3.0
dependencies:
- { name: grav, version: '>=1.7.0' }
form:
validation: loose
fields:
production-mode:
type: toggle
label: FUTURE.ADMIN.THEME.PRODUCTION_MODE
help: FUTURE.ADMIN.THEME.PRODUCTION_MODE_HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
sidebar:
type: toggle
label: FUTURE.ADMIN.THEME.SIDEBAR
help: FUTURE.ADMIN.THEME.SIDEBAR_HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
google_fonts_local:
type: toggle
label: FUTURE.ADMIN.THEME.GOOGLE_FONTS.LOCAL
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
header_section:
type: fieldset
collapsible: true
collapsed: true
icon: header
title: FUTURE.ADMIN.THEME.HEADER
fields:
favicon:
type: file
label: FUTURE.ADMIN.THEME.FAVICON
destination: 'theme@:/images'
multiple: false
avoid_overwriting: false
random_name: false
toggleable: true
filesize: 3
accept: ['image/png', '.ico']
custom_logo:
type: file
label: FUTURE.ADMIN.THEME.CUSTOM_LOGO
size: large
destination: 'theme://images/logo'
multiple: false
markdown: true
description: FUTURE.ADMIN.THEME.CUSTOM_LOGO_DESCRIPTION
accept:
- image/*
custom_logo_mobile:
type: file
label: FUTURE.ADMIN.THEME.CUSTOM_LOGO_MOBILE
size: large
destination: 'theme://images/logo'
multiple: false
accept:
- image/*
type_logo_header:
type: radio
label: FUTURE.ADMIN.THEME.TYPE_LOGO_HEADER
help: FUTURE.ADMIN.THEME.TYPE_LOGO_HEADER_HELP
default: text
options:
image: FUTURE.ADMIN.THEME.TYPE_LOGO_HEADER_IMAGE
text: FUTURE.ADMIN.THEME.TYPE_LOGO_HEADER_TEXT
both: FUTURE.ADMIN.THEME.TYPE_LOGO_HEADER_BOTH
slogan:
type: text
label: FUTURE.ADMIN.THEME.SLOGAN
custom_css:
type: toggle
label: FUTURE.ADMIN.THEME.CUSTOM_CSS
help: FUTURE.ADMIN.THEME.CUSTOM_CSS_HELP
highlight: 1
default: true
options:
1: Enabled
0: Disabled
custom_js:
type: toggle
label: FUTURE.ADMIN.THEME.CUSTOM_JS
help: FUTURE.ADMIN.THEME.CUSTOM_JS_HELP
highlight: 1
default: true
options:
1: Enabled
0: Disabled
menu_options:
type: section
title: FUTURE.ADMIN.THEME.MENU.TITLE
underline: true
menu_langswitcher:
type: toggle
label: FUTURE.ADMIN.THEME.MENU.LANGSWITCHER
help: FUTURE.ADMIN.THEME.MENU.LANGSWITCHER_HELP
default: 0
highlight: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
menu_search:
type: toggle
label: FUTURE.ADMIN.THEME.MENU.SEARCH
help: FUTURE.ADMIN.THEME.MENU.SEARCH_HELP
default: 0
highlight: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
menu_login:
type: toggle
label: FUTURE.ADMIN.THEME.MENU.LOGIN
help: FUTURE.ADMIN.THEME.MENU.LOGIN_HELP
default: 0
highlight: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
blog_section:
type: fieldset
collapsible: true
collapsed: true
icon: rss
title: FUTURE.ADMIN.THEME.BLOG_DEFAULTS
fields:
blog_page:
type: text
label: FUTURE.ADMIN.THEME.BLOG_PAGE
help: FUTURE.ADMIN.THEME.BLOG_PAGE_HELP
size: medium
default: '/blog'
miniposts:
type: toggle
label: FUTURE.ADMIN.THEME.MINIPOSTS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
miniposts_category:
type: text
markdown: true
label: FUTURE.ADMIN.THEME.MINIPOSTS_CATEGORY
description: FUTURE.ADMIN.THEME.MINIPOSTS_CATEGORY_DESCRIPTION
size: medium
default: 'minipost'
miniposts_number:
type: range
label: FUTURE.ADMIN.THEME.MINIPOSTS_NUMBER
description: FUTURE.ADMIN.THEME.MINIPOSTS_NUMBER_DESCRIPTION
default: 3
validate:
min: 1
max: 5
recent_posts_enabled:
type: toggle
label: FUTURE.ADMIN.THEME.RECENT_POSTS_ENABLED
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
recent_posts_number:
type: range
label: FUTURE.ADMIN.THEME.RECENT_POSTS_NUMBER
description: FUTURE.ADMIN.THEME.RECENT_POSTS_NUMBER_DESCRIPTION
default: 5
validate:
min: 1
max: 15
footer_section:
type: fieldset
collapsible: true
collapsed: true
icon: list-alt
title: FUTURE.ADMIN.THEME.FOOTER
fields:
footer.title:
type: text
label: FUTURE.ADMIN.THEME.FOOTER_TITLE
footer.description:
type: textarea
rows: 5
markdown: true
label: FUTURE.ADMIN.THEME.FOOTER_DESCRIPTION
footer.copyright_text:
type: text
label: FUTURE.ADMIN.THEME.FOOTER_COPYRIGHT
footer.button_text:
type: text
label: FUTURE.ADMIN.THEME.FOOTER_BUTTON_TEXT
footer.button_url:
type: text
label: FUTURE.ADMIN.THEME.FOOTER_BUTTON_URL
social_icons_section:
type: fieldset
collapsible: true
collapsed: true
icon: share-alt
title: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ICONS
fields:
enable_social:
type: toggle
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ENABLE
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
social_style:
type: select
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_STYLE
description: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_STYLE_DESCRIPTION
default: brands
size: medium
options:
regular: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_STYLE_REGULAR
solid: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_STYLE_SOLID
brands: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_STYLE_BRANDS
social:
name: social
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ICONS_LIST
type: list
style: vertical
collapsed: false
max: 5
fields:
.name:
type: text
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ICON_NAME
.url:
type: text
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ICON_URL
.icon:
type: iconpicker
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ICON_ICON
custommenu_options_section:
type: fieldset
collapsible: true
collapsed: true
icon: bars
title: FUTURE.ADMIN.THEME.CUSTOM_MENU_TITLE
fields:
custommenus.enabled:
type: toggle
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ENABLE
help: FUTURE.ADMIN.THEME.CUSTOM_MENU_ENABLE_HELP
default: 1
highlight: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
custommenu:
name: menu
type: list
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_TITLE
fields:
.text:
type: text
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TEXT
description: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TEXT_DESCRIPTION
.icon:
type: text
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_ICON
description: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_ICON_DESCRIPTION
.url:
type: text
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_URL
description: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_URL_DESCRIPTION
.target:
type: select
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET
default: _self
size: medium
options:
_blank: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_BLANK
_parent: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_PARENT
_self: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_SELF
_top: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_TOP