forked from aptible/www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
83 lines (79 loc) · 1.77 KB
/
gatsby-config.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
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
});
module.exports = {
siteMetadata: {
siteUrl: `https://www.aptible.com`,
},
plugins: [
`gatsby-plugin-postcss`,
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: process.env.CONTENTFUL_SPACE_ID,
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
host: process.env.CONTENTFUL_HOST,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `yml`,
path: `${__dirname}/src/data/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `markdown`,
path: `${__dirname}/src/markdown/`,
},
},
`gatsby-transformer-remark`,
`gatsby-transformer-yaml`,
{
resolve: `gatsby-plugin-portal`,
options: {
key: 'modal',
id: 'modal-portal',
},
},
{
resolve: 'gatsby-source-lever',
options: {
site: 'aptible',
verboseOutput: true,
},
},
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-favicon`,
options: {
logo: './src/images/favicon.png',
appName: 'aptible.com',
appDescription: null,
developerName: null,
developerURL: null,
dir: 'auto',
lang: 'en-US',
background: '#fff',
theme_color: '#fff',
display: 'standalone',
orientation: 'any',
start_url: '/?homescreen=1',
version: '1.0',
icons: {
android: true,
appleIcon: true,
appleStartup: true,
coast: false,
favicons: true,
firefox: true,
yandex: false,
windows: false
}
}
},
`gatsby-plugin-sitemap`
],
};