forked from CloudCannon/justice-nextjs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloudcannon.config.cjs
63 lines (60 loc) · 1.34 KB
/
cloudcannon.config.cjs
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
module.exports = {
_comments: {
large_header: 'Toggles the size of the top banner.',
show_in_navigation: 'Toggles a link in the top banner.',
author_staff_member: 'The staff member writing this post.',
call_to_action: 'Type of request shown at the bottom of this page.',
testimonials: 'Update, add or remove testimonials.',
phone_extension: 'The digits after dialing the company phone.',
credentials: 'Shown as subtext on staff member summaries.',
contact_email_address: 'Address for the contact form to send to.',
new_window: 'Whether the link opens a new browser tab/window.'
},
_select_data: {
call_to_actions: [
'Contact',
'Blog'
],
social_icons: [
'Facebook',
'Instagram',
'LinkedIn',
'Pinterest',
'Tumblr',
'Twitter',
'YouTube',
'RSS'
]
},
paths: {
collections: 'content',
data: 'data',
static: 'public',
uploads: 'public/uploads'
},
'collections-config': {
webpages: {
path: 'content/pages',
url: '/[slug]',
output: true,
name: 'Pages',
_icon: 'wysiwyg',
_enabled_editors: ['visual', 'data']
},
posts: {
path: 'content/posts',
url: '/blog/[slug]',
output: true,
_enabled_editors: ['content', 'data']
},
staff_members: {
path: 'content/staff-members',
output: false,
_icon: 'people'
},
data: {
path: 'data',
output: false
}
}
};