-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
executable file
·59 lines (59 loc) · 1.67 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
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
siteMetadata: {
title: "Big Step",
description: `Substance Abuse Recovery.`,
author: "@Mary-Tyler-Moore",
siteUrl: "https://big-weekend.netlify.com", // No trailing slash allowed!
image: "/defaultBcg.jpeg", // Path to your image you placed in the 'static' folder
twitterUsername: "@john_smilga",
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-playground`,
`gatsby-plugin-styled-components`,
`gatsby-plugin-transition-link`,
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: process.env.CONTENTFUL_SPACE_ID,
// Learn about environment variables: https://gatsby.dev/env-vars
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
},
},
`gatsby-plugin-sitemap`,
{
resolve: "gatsby-plugin-robots-txt",
options: {
host: "https://gatsby-backroads-project-recording.netlify.com",
sitemap:
"https://gatsby-backroads-project-recording.netlify.com/sitemap.xml",
policy: [{ userAgent: "*", allow: "/" }],
},
},
`gatsby-plugin-offline`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Big Step`,
short_name: `Big Step`,
start_url: `/`,
background_color: `#f7f0eb`,
theme_color: `#a2466c`,
display: `standalone`,
icon: "src/images/icon.jpg",
},
},
],
}