-
Notifications
You must be signed in to change notification settings - Fork 72
/
cloudcannon.config.yml
221 lines (217 loc) · 4.39 KB
/
cloudcannon.config.yml
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
paths:
static: public
uploads: public/uploads
data_config:
blog-tags:
path: data/blog-tags.json
collections_config:
posts:
path: src/content/blog
url: "/blog/[slug]/"
disable_add_folder: true
_enabled_editors:
- content
- visual
add_options:
- name: Add New Post
schema: default
icon: post_add
schemas:
default:
name: New Post
path: schemas/post.md
_inputs:
title:
empty_type: string
image:
empty_type: string
image_alt:
empty_type: string
author:
empty_type: string
pages:
path: src/content/pages
url: "/[slug]/"
icon: wysiwyg
disable_add_folder: true
_enabled_editors:
- visual
add_options:
- name: Add New Page
schema: default
icon: note_add
schemas:
default:
name: New Page
path: schemas/page.md
new_preview_url: "/"
paginated_collection:
path: schemas/paginated-collection.md
_inputs:
content_blocks:
empty_type: array
filter:
base: strict
data:
path: data
disable_add: true
disable_add_folder: true
disable_url: true
icon: data_usage
collection_groups:
- heading: Pages
collections:
- pages
- heading: Blogging
collections:
- posts
- heading: Site Settings
collections:
- data
- site_navigation
- theme_palette
_structures:
content_blocks:
style: modal
features:
values:
- value:
item:
isActive:
dropdown:
values:
value:
dropdown_text:
dropdown_link:
social:
values:
value:
link:
icon:
icon_alt:
sections:
values:
value:
title:
links:
links:
values:
value:
text:
link:
items:
values:
value:
link:
text:
enable_dropdown:
dropdown:
_inputs:
thumb_image.image:
type: image
options:
width: 500
height: 413
resize_style: crop
featured_image.image:
type: image
options:
width: 1296
resize_style: crop
layout:
hidden: true
date:
instance_value: now
title_suffix:
comment: Added at the end of the title and highlighted in a different color
page_size:
type: number
comment: The number of collection items to list per page
content:
type: markdown
icon:
type: select
options:
values:
- ph-user-square
description:
type: markdown
options:
bold: true
italic: true
link: true
removeformat: true
isActive:
type: switch
social[*].icon:
type: select
options:
values:
- ph-facebook-logo
- ph-instagram-logo
- ph-twitter-logo
- ph-github-logo
- ph-youtube-logo
page_description:
comment: If empty, defaults to the description set in the Site SEO data file
type: text
canonical_url:
comment: If empty, defaults to the URL of the page
type: text
featured_image:
comment: If empty, defaults to the image set in the Site SEO data file
author_twitter_handle:
type: twitter
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
open_graph_type:
type: select
options:
values:
- website
- article
- profile
favicon_icon:
type: image
comment: For the shortcut icon meta tag
favicon_image:
type: image
comment: For the icon meta tag
enable_dropdown:
type: switch
dropdown:
type: array
options:
structures: _structures.dropdown
label: Dropdown Items
hidden: "!enable_dropdown"
dropdown_link:
type: url
label: Link
dropdown_text:
type: text
label: Name
items:
type: array
options:
structures: _structures.items
logo:
type: image
tags:
type: multiselect
empty_type: array
options:
values: data.blog-tags
twitter_site:
type: twitter
label: Twitter Username
logo_url:
comment: Link for the logo in the top left of the footer
copyright:
comment: Automatically prefixed with the current year
enable_nav_btn:
type: switch
nav_btn:
hidden: "!enable_nav_btn"