-
Notifications
You must be signed in to change notification settings - Fork 128
/
_siteConfig.js
executable file
·107 lines (99 loc) · 2.52 KB
/
_siteConfig.js
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
/**
* CMS Configuration
* Alter 'netlify' in the import statment below to one of the following:
* netlify
*/
import theCMS from '../cms/netlify/cms'
/**
* General Site configurations
*/
export default {
siteName: 'Awake',
tagline: 'A Nuxt.js Theme for Netlify CMS',
featureImage: '/uploads/home-hero.jpg',
logo: 'logo-component', // 'logo-component', // or '/logo.svg' for regular image
googleAnalytics: {
on: true,
id: process.env.GOOGLE_ANALYTICS_ID
},
mainMenu: [
{
name: 'About',
link: '/about'
},
{
name: 'Contact',
link: '/contact'
},
{
name: 'Categories',
link: '/categories'
},
{
name: 'Github Repo',
link: 'https://github.com/danielkellyio/awake-template',
target: '_blank'
},
{
name: 'Awake+ Premium',
link: 'https://awake-premium-lp.netlify.com/',
target: '_blank'
}
],
hero: {
theme: 'dark' // options: mist, light, dark
},
// Main Layout/Style
layout: {
width: 'contained', // Options: contained, full
theme: 'one-column' // Options: one-column, sidebar-right, sidebar-left
},
// Card Layout
cards: {
imageDimensions: '2x1', // Options: 1x1, 5x4, 4x3, 3x2, 5x3, 16x9, 2x1, 3x1, 4x5, 3x4, 2x3, 3x5, 9x16
theme: 'boxes' // Options: boxes, grid, image-grid
},
// Disqus
disqus: {
on: true,
loadingStrategy: 'button', // Options: onload, lazy, button
siteShortName: 'blog-danielkelly-io' // 'blog-danielkelly-io'
},
// Newsletter Subscribe
newsletter: {
on: true,
heading: 'Subscribe to Our Newsletter',
btnText: 'Subscribe',
// Can be the form action on a mail chimp form, a hubspot form,
// or any other url you want to post the form data to
mailchimp: {
on: true,
formAction:
'https://danielkelly.us3.list-manage.com/subscribe/post?u=d3c2e762b66a2353d0bc29bf3&id=2abeaa06e0'
},
custom: {
on: false,
formAction: ''
}
},
// Categories
categories: {
on: true,
perPage: 6,
imageDimensions: null, // See card.imageDimensions (can be unique for categories if set here)
theme: null // See card.theme (can be unique for categories if set here)
},
// Posts
posts: {
on: true,
theme: null, // See card.theme (can be unique for posts if set here)
imageDimensions: null, // See card.imageDimensions (can be unique for posts if set here)
displayAuthor: true,
date: {
display: true
},
perRow: 3,
perPage: 6
}
}
export const CMS = theCMS