-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
41 lines (41 loc) · 1.45 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
module.exports = {
siteMetadata: {
title: `A Site By Paul Bennett-Freeman`,
description: 'A Gatsby theme created by Paul Bennett-Freeman',
keywords: 'gatsby gatsby-theme oddessay',
sections: [
{ title: 'About', link: '/about' },
{ title: '404', link: '/404' },
],
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-typescript`,
'gatsby-transformer-typescript-css-modules',
'gatsby-plugin-postcss',
{
resolve: `gatsby-source-strapi`,
options: {
apiURL: process.env.STRAPI_URL,
queryLimit: 1000, // Default to 100
contentTypes: [`portfolio`, `short-urls`, `blog-posts`, `sites`],
//If using single types place them in this array.
singleTypes: [],
// Possibility to login with a strapi user, when content types are not publically available (optional).
loginData: {
identifier: process.env.STRAPI_USER,
password: process.env.STRAPI_PASSWORD,
},
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{ resolve: `gatsby-source-filesystem`, options: { path: `./src/images/` } },
{
resolve: 'gatsby-background-image',
options: {
specialChars: '/:',
},
},
],
};