-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
56 lines (55 loc) · 1.23 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
const site = require('./src/metadata/site')
module.exports = {
plugins: [
{
options: {
trackingId: site.gaTrackingId
},
resolve: 'gatsby-plugin-google-analytics'
},
{
options: {
throw: true
},
resolve: 'gatsby-plugin-react-a11y'
},
'gatsby-plugin-netlify',
'gatsby-plugin-react-helmet',
{
options: {
name: 'content',
path: `${__dirname}/content/`
},
resolve: 'gatsby-source-filesystem'
},
'gatsby-transformer-remark',
{
options: {
background_color: site.themeColor,
display: 'standalone',
icons: [
{
sizes: '192x192',
src: '/img/favicons/android-chrome-192x192.png',
type: 'image/png'
},
{
sizes: '512x512',
src: '/img/favicons/android-chrome-512x512.png',
type: 'image/png'
}
],
name: site.description,
short_name: site.title,
start_url: '/',
theme_color: site.themeColor
},
resolve: 'gatsby-plugin-manifest'
},
'gatsby-plugin-sitemap',
'gatsby-plugin-offline'
],
siteMetadata: {
siteUrl: 'https://www.sacjs.com'
}
}