-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
76 lines (76 loc) · 1.87 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
module.exports = {
siteMetadata: {
title: `NRG`,
description: `Creators, makers and builders.`,
author: `@madewithnrg`,
siteUrl: `https://madewithnrg.com/`,
// Change in production
baseUrl: 'https://madewithnrg.com/',
},
plugins: [
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-postcss`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-netlify-headers`,
`gatsby-plugin-resolve-src`,
`gatsby-plugin-emotion`,
`gatsby-plugin-postcss`,
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-source-filesystem`,
options: { path: `./static/images/` },
},
{
resolve: `gatsby-source-storyblok`,
options: {
accessToken: `MfgGrrnYEMkLpAaMaWRiogtt`,
homeSlug: `home`,
includeLinks: true,
version: process.env.NODE_ENV === `production` ? `published` : `draft`,
},
},
{
resolve: `gatsby-plugin-nprogress`,
options: {
color: `#ff1200`,
showSpinner: false,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `NRG Agency`,
short_name: `NRG`,
start_url: `/`,
background_color: `#ff1200`,
theme_color: `#ff1200`,
display: `standalone`,
icon: `static/images/favicon.png`,
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-48020924-3',
head: false,
exclude: ['/editor/**'],
pageTransitionDelay: 0,
defer: false,
},
},
{
resolve: 'gatsby-plugin-google-tagmanager',
options: {
id: '',
includeInDevelopment: false,
defaultDataLayer: { platform: 'gatsby' },
gtmAuth: '',
gtmPreview: '',
dataLayerName: '',
routeChangeEventName: '',
},
},
`gatsby-plugin-offline`,
],
};