-
Notifications
You must be signed in to change notification settings - Fork 12
/
cloudcannon.config.yaml
202 lines (197 loc) · 3.91 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
data_config:
blog-tags:
path: data/blog-tags.yaml
collections_config:
pages:
icon: wysiwyg
disable_add_folder: true
path: content
schemas:
default:
path: schemas/page.html
_enabled_editors:
- visual
articles:
icon: article
path: content/blog
disable_add_folder: true
preview:
subtext:
- template: '{"Draft"|if=draft}'
- template: '{date|date_long}'
- key: url
image:
- key: thumbImg.image_path
metadata:
- icon: person
text:
- key: author
schemas:
default:
path: schemas/post.md
_enabled_editors:
- content
- visual
data:
path: data
icon: settings
disable_add: true
disable_add_folder: true
disable_url: true
_enabled_editors:
- data
collection_groups:
- heading: Pages
collections:
- pages
- articles
- heading: Data
collections:
- data
paths:
static: static
uploads: static/images
_inputs:
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
featured_image.image:
type: image
options:
width: 1296
resize_style: crop
thumb_image.image:
type: image
options:
width: 500
height: 413
resize_style: crop
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
categories:
type: multiselect
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:
label: Enable Navigation Button
type: switch
nav_btn:
label: Navigation Button
hidden: "!enable_nav_btn"
thumbImg:
label: Thumbnail Image
featuredImg:
label: Featured Image
image_alt:
label: Image Description
_structures:
content_blocks:
style: modal
dropdown:
values:
- value:
dropdown_text:
dropdown_link:
social:
values:
- value:
link:
icon:
sections:
values:
- value:
title:
links:
links:
values:
- value:
link:
text:
features:
values:
- value:
item:
isActive:
items:
values:
- value:
link:
text:
enable_dropdown:
dropdown:
_snippets_imports:
hugo: true