-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
46 lines (46 loc) · 1.14 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
const path = require('path')
module.exports = options => ({
siteMetadata: {
title: 'Kickstart Gatsby static site development with Plone',
subTitle: 'Plone + Gatsby = \u2764',
},
pathPrefix: '/',
plugins: [
{
resolve: 'gatsby-source-plone',
options: {
baseUrl: options.baseUrl ? options.baseUrl : 'https://plonedemo.kitconcept.com/en',
token: options.token ? options.token : '',
logLevel: 'DEBUG',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/static`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'Gatsby Starter Plone',
short_name: 'Plone',
start_url: '/',
background_color: '#ffffff',
theme_color: '#007eb6',
display: 'standalone',
icon: require.resolve('./src/images/icon.png'),
},
},
{
resolve: 'gatsby-plugin-page-creator',
options: {
path: path.join(__dirname, 'src', 'pages')
}
},
'gatsby-plugin-offline',
'gatsby-plugin-react-helmet',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
],
});