-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
53 lines (52 loc) · 1.51 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
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
siteMetadata: {
title: `Terp`,
siteUrl: `https://terp.network`
},
plugins: ["gatsby-plugin-sass", "gatsby-plugin-scroll-reveal", "gatsby-plugin-image", "gatsby-plugin-react-helmet", "gatsby-plugin-sitemap", {
resolve: "gatsby-plugin-manifest",
options: {
icon: `./src/images/favicons/favicon-96x96.png`, // This path is relative to the root of the site.
theme_color: `#312526`,
icons: [
{
src: `/images/favicons/android-icon-192x192.png`,
sizes: `192x192`,
type: `image/png`,
},
],
},
}, "gatsby-plugin-mdx", "gatsby-transformer-remark", `gatsby-plugin-sharp`,
{
resolve: `gatsby-transformer-sharp`,
options: {
// The option defaults to true
checkSupportedExtensions: false,
},
}, {
resolve: 'gatsby-source-filesystem',
options: {
"name": "images",
"path": "./src/images/"
},
__key: "images"
}, {
resolve: 'gatsby-source-filesystem',
options: {
"name": "pages",
"path": "./src/pages/"
},
__key: "pages"
},
{
resolve: "gatsby-plugin-anchor-links",
options: {
offset: -100,
duration: 300
}
}
]
};