forked from seb-vial/grav-plugin-about-me
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
executable file
·334 lines (333 loc) · 9.57 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
name: AboutMe
version: 1.2.1
description: "Simple plugin to show some information about yourself, with a nice picture, your name, your title/job and a description.<br/>You can also add links to your social network pages (Twitter, Facebook, GitHub, LinkedIn, Instagram)."
icon: user
author:
name: Sébastien Viallemonteil
email: sviallemonteil@gmail.com
url: https://scratchmydev.com
homepage: https://github.com/birssan/grav-plugin-about-me
keywords: plugin, about, avatar, description, job
bugs: https://github.com/birssan/grav-plugin-about-me/issues
license: MIT
form:
validation: strict
fields:
enabled:
type: toggle
label: PLUGIN_ABOUTME.ENABLED
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
built_in_css:
type: toggle
label: PLUGIN_ABOUTME.BUILT_IN_CSS
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
name:
type: text
size: small
label: PLUGIN_ABOUTME.NAME
validate:
type: text
title:
type: text
label: PLUGIN_ABOUTME.TITLE
validate:
type: text
show_title:
type: toggle
label: PLUGIN_ABOUTME.SHOW_TITLE
default: 1
highlight: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
description:
type: markdown
label: PLUGIN_ABOUTME.DESCRIPTION
validate:
type: textarea
Profile Picture:
type: section
title: PLUGIN_ABOUTME.PICTURE.SECTION
underline: true
picture_src:
type: file
label: PLUGIN_ABOUTME.PICTURE.PICTURE_SRC
multiple: false
destination: "user/plugins/aboutme/assets/avatars"
accept:
- image/*
Gravatar:
type: section
title: PLUGIN_ABOUTME.GRAVATAR.SECTION
underline: true
gravatar.enabled:
type: toggle
label: PLUGIN_ABOUTME.GRAVATAR.ENABLED
highlight: 0
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
gravatar.email:
type: text
size: small
label: PLUGIN_ABOUTME.GRAVATAR.EMAIL
validate:
type: text
gravatar.size:
type: number
size: small
label: PLUGIN_ABOUTME.GRAVATAR.SIZE
default: 100
validate:
type: int
min: 50
Social Pages:
type: section
title: PLUGIN_ABOUTME.SOCIAL_PAGES.SECTION
underline: true
social_pages.enabled:
type: toggle
label: PLUGIN_ABOUTME.SOCIAL_PAGES.ENABLED
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
social_pages.use_font_awesome:
type: toggle
label: PLUGIN_ABOUTME.SOCIAL_PAGES.USE_FONT_AWESOME
highlight: 0
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
social_pages_types_spacer:
type: spacer
title: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.SPACER
underline: true
social_pages_types:
type: tabs
active: 1
title: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.TABS
fields:
facebook:
type: tab
title: Facebook
fields:
social_pages.pages.facebook.icon_type:
type: toggle
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.ICON_TYPE
highlight: b
default: b
options:
b: Brand
s: Solid
r: Regular
validate:
type: text
social_pages.pages.facebook.icon:
type: text
size: small
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.ICON
default: facebook
validate:
type: text
social_pages.pages.facebook.url:
type: url
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.URL
validate:
type: url
social_pages.pages.facebook.title:
type: text
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.TITLE
default: Facebook
validate:
type: text
social_pages.pages.facebook.position:
type: text
size: x-small
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.POSITION
default: 1
validate:
type: Number
twitter:
type: tab
title: Twitter
fields:
social_pages.pages.twitter.icon_type:
type: toggle
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.ICON_TYPE
highlight: b
default: b
options:
b: Brand
s: Solid
r: Regular
validate:
type: text
social_pages.pages.twitter.icon:
type: text
size: small
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.ICON
default: twitter
validate:
type: text
social_pages.pages.twitter.url:
type: url
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.URL
validate:
type: url
social_pages.pages.twitter.title:
type: text
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.TITLE
default: Twitter
validate:
type: text
social_pages.pages.twitter.position:
type: text
size: x-small
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.POSITION
default: 1
validate:
type: Number
github:
type: tab
title: GitHub
fields:
social_pages.pages.github.icon_type:
type: toggle
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.ICON_TYPE
highlight: b
default: b
options:
b: Brand
s: Solid
r: Regular
validate:
type: text
social_pages.pages.github.icon:
type: text
size: small
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.ICON
default: github
validate:
type: text
social_pages.pages.github.url:
type: url
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.URL
validate:
type: url
social_pages.pages.github.title:
type: text
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.TITLE
default: GitHub
validate:
type: text
social_pages.pages.github.position:
type: text
size: x-small
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.POSITION
default: 1
validate:
type: Number
linkedin:
type: tab
title: LinkedIn
fields:
social_pages.pages.linkedin.icon_type:
type: toggle
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.ICON_TYPE
highlight: b
default: b
options:
b: Brand
s: Solid
r: Regular
validate:
type: text
social_pages.pages.linkedin.icon:
type: text
size: small
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.ICON
default: linkedin
validate:
type: text
social_pages.pages.linkedin.url:
type: url
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.URL
validate:
type: url
social_pages.pages.linkedin.title:
type: text
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.TITLE
default: LinkedIn
validate:
type: text
social_pages.pages.linkedin.position:
type: text
size: x-small
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.POSITION
default: 1
validate:
type: Number
instagram:
type: tab
title: Instagram
fields:
social_pages.pages.instagram.icon_type:
type: toggle
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.ICON_TYPE
highlight: b
default: b
options:
b: Brand
s: Solid
r: Regular
validate:
type: text
social_pages.pages.instagram.icon:
type: text
size: small
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.ICON
default: instagram
validate:
type: text
social_pages.pages.instagram.url:
type: url
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.URL
validate:
type: url
social_pages.pages.instagram.title:
type: text
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.TITLE
default: Instagram
validate:
type: text
social_pages.pages.instagram.position:
type: text
size: x-small
label: PLUGIN_ABOUTME.SOCIAL_PAGES_TYPES.POSITION
default: 1
validate:
type: Number