-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
37 lines (37 loc) · 1.26 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
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
siteMetadata: {
title: 'Twenty First',
description: 'A blazing fast modern blog theme',
headline: '⚡️Blogging for the 21st century⚡️',
siteUrl: 'https://21st.netlify.com',
twitterUser: '@viveralia',
image:
'https://images.unsplash.com/photo-1517976487492-5750f3195933?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=600&h=400&fit=crop&ixid=eyJhcHBfaWQiOjF9',
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-styled-components`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-transition-link`,
`gatsby-plugin-sitemap`,
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://21st.netlify.com',
sitemap: 'https://21st.netlify.com/sitemap.xml',
policy: [{ userAgent: '*', allow: '/' }],
},
},
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: process.env.CONTENTFUL_SPACE_ID,
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
},
},
],
}