-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathgatsby-config.js
47 lines (46 loc) · 1.01 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
const { name } = require('./package.json');
module.exports = {
pathPrefix: process.env.CI ? `/${name}` : `/`,
siteMetadata: {
author: 'You!',
title: `Gatsby Default (Blog) Starter`,
},
plugins: [
'gatsby-plugin-catch-links',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Blog Starter',
short_name: 'Blog',
start_url: '/',
background_color: '#fff',
theme_color: '#663399',
display: 'minimal-ui',
icon: 'assets/logo.jpg',
}
},
'gatsby-plugin-offline',
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/blog`,
name: 'blog',
},
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-images',
options: {
linkImagesToOriginal: false
}
}
]
}
},
'gatsby-plugin-react-helmet',
'gatsby-plugin-sharp'
],
}