-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloudcannon.config.yaml
423 lines (419 loc) · 9.1 KB
/
cloudcannon.config.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
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
paths:
collections: content
data: data
static: public
uploads: public/images
_snippets_imports:
mdx: true
_snippets:
newsLetter:
snippet: :newsLetter{[[args]]}
inline: false
preview:
text: Newsletter
icon: view_quilt
gallery:
image: https://photostma.blob.core.windows.net/web/images/mockups/newsletter-snippet.png
params:
args:
parser: key_values
options:
models:
- editor_key: title
type: string
default: "Sign-up for our newsletter"
- editor_key: description
type: string
default: "Get dating profile tips & strategy straight to your inbox."
- editor_key: cta_text
type: string
default: "Get Online Dating Tools"
- editor_key: img
type: string
default: "https://images.thematchartist.com/images/portfolio/2vwYVfAwRVaRiAn1ksd4.jpg"
- editor_key: campaign_id
type: string
default: "241825807"
format:
ref: "mdx_format"
definitions:
component_name: Newsletter
customFooter:
snippet: :customFooter{[[args]]}
inline: false
preview:
text: Custom Footer
icon: view_quilt
params:
args:
parser: key_values
options:
models:
- editor_key: title
type: string
default: ""
- editor_key: text
type: string
default: ""
- editor_key: img
type: string
default: ""
format:
ref: "mdx_format"
data_config:
locations:
path: data/locations.json
parser: json
tinder:
path: data/guides/tinder.json
parser: json
hinge:
path: data/guides/hinge.json
parser: json
bumble:
path: data/guides/bumble.json
parser: json
dilmil:
path: data/guides/dil-mil.json
parser: json
collections_config:
data:
path: data
disable_add: true
disable_add_folder: true
icon: add_chart
pages:
path: content
url: "/[full_slug]/"
output: true
icon: cottage
_enabled_editors:
- visual
schemas:
page:
name: New Page
path: schemas/page.md
hide_extra_inputs: false
remove_extra_inputs: false
disable_add_folder: true
add_options:
- name: Add Page
editor: visual
schema: page
blog:
path: content/blog
output: true
create: "[relative_base_path]/{name|slugify}.md"
url: "/blog/[slug]/"
icon: event_available
_enabled_editors:
- content
- visual
schemas:
blog_post:
name: New Blog Post
path: schemas/post.md
hide_extra_inputs: true
remove_extra_inputs: false
disable_add_folder: true
add_options:
- name: Add Post
editor: content
schema: blog_post
preview:
text:
- key: name
- "Blog Post"
icon:
- "rss_feed"
subtext:
- key: author
gallery:
image:
- key: featured_image
fit: cover
_inputs:
summary:
type: textarea
featured_image_alt:
hidden: "!featured_image"
created:
type: date
updated:
type: date
published:
type: date
instance_value: NOW
portfolio:
path: content/portfolio/
output: true
url: "/portfolio/[slug]/"
icon: burst_mode
_enabled_editors:
- visual
schemas:
portfolio:
name: New Portfolio Section
path: schemas/portfolio.md
hide_extra_inputs: false
remove_extra_inputs: false
disable_add_folder: true
add_options:
- name: Add Portfolio Section
editor: visual
schema: portfolio
_inputs:
vertical_gap:
type: number
horizontal_gap:
type: number
brightness:
hidden: "!src"
position:
hidden: "!src"
column_one:
type: array
column_one[*]:
type: image
column_two:
type: array
column_two[*]:
type: image
column_three:
type: array
column_three[*]:
type: image
hero_image_filters:
hidden: "!hero_image"
tinder:
path: content/tinder
output: true
url: "/tinder/[slug]/"
icon: local_fire_department
_enabled_editors:
- content
- visual
schemas:
guide:
name: New Tinder Section
path: schemas/guide.md
hide_extra_inputs: false
remove_extra_inputs: false
disable_add_folder: true
add_options:
- name: Add Tinder Guide Page
editor: visual
schema: guide
_inputs:
title:
type: textarea
menu_grouping:
type: select
options:
values: data.tinder
value_key: heading
preview:
text:
- key: heading
hinge:
path: content/hinge
output: true
url: "/hinge/[slug]/"
icon: diversity_1
_enabled_editors:
- content
- visual
schemas:
guide:
name: New Hinge Section
path: schemas/guide.md
hide_extra_inputs: false
remove_extra_inputs: false
disable_add_folder: true
add_options:
- name: Add Hinge Guide Page
editor: visual
schema: guide
_inputs:
title:
type: textarea
menu_grouping:
type: select
options:
values: data.hinge
value_key: heading
preview:
text:
- key: heading
dilmil:
path: content/dil-mil
output: true
url: "/dil-mil/[slug]/"
icon: favorite
_enabled_editors:
- content
- visual
schemas:
guide:
name: New Dil Mil Section
path: schemas/guide.md
hide_extra_inputs: false
remove_extra_inputs: false
disable_add_folder: true
add_options:
- name: Add Dil Mil Guide Page
editor: visual
schema: guide
_inputs:
title:
type: textarea
menu_grouping:
type: select
options:
values: data.dilmil
value_key: heading
preview:
text:
- key: heading
bumble:
path: content/bumble
output: true
url: "/bumble/[slug]/"
icon: emoji_nature
_enabled_editors:
- content
- visual
schemas:
guide:
name: New Bumble Section
path: schemas/guide.md
hide_extra_inputs: false
remove_extra_inputs: false
disable_add_folder: true
add_options:
- name: Add Bumble Guide Page
editor: visual
schema: guide
_inputs:
title:
type: textarea
menu_grouping:
type: select
options:
values: data.bumble
value_key: heading
preview:
text:
- key: heading
collection_groups:
- heading: Pages
collections:
- pages
- portfolio
- book
- heading: Blog
collections:
- blog
- heading: Guides
collections:
- tinder
- bumble
- hinge
- dilmil
- heading: Data
collections:
- data
_inputs:
date:
instance_value: NOW
published:
instance_value: NOW
src:
type: image
label: Image Source
img:
type: image
label: Image
path:
type: url
top_spacing:
type: number
bottom_spacing:
type: number
vertical_padding:
type: number
horizontal_spacing:
type: number
max_width:
type: number
max_height:
type: number
brightness:
type: range
options:
step: 0.01
max: 1
min: 0
blur:
type: range
options:
step: 0.01
max: 1
min: 0
page_description:
comment: Defaults to the description set in the Site SEO data file
favicon_icon:
type: image
comment: For the shortcut icon meta tag
faivcon_image:
type: image
comment: For the icon meta tag
canonical_url:
comment: Defaults to the pages url
featured_image:
comment: Defaults to the image set in the Site SEO data file
open_graph_type:
comment: Defaults to the type 'website'
author_twitter_handle:
comment: Defaults to the twitter site value set in the Site SEO data file
no_index:
type: checkbox
comment: >-
When selected this removes the page from your sitemap and adds the noindex
robots meta tag
location_name:
type: select
options:
values: data.locations
value_key: city
preview:
text:
- key: city
heading_style:
type: select
comment: Used to control the headings sematic value, leave this as h1 if this is the pages main heading.
options:
values:
- h1
- h2
_editables:
content:
blockquote: true
bold: true
format: p h1 h2 h3
italic: true
strike: true
subscript: true
superscript: true
underline: true
link: true
bulletedlist: true
embed: true
horizontalrule: true
image: true
undo: true
redo: true
snippet: true
_structures:
content_blocks:
style: modal