-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
55 lines (54 loc) · 1.39 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
54
55
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
siteMetadata: {
title: `Testing Gatsby`,
description: `Take a look around`,
author: `pablo`,
},
plugins: [
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-transformer-remark`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/content/news`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `TestingGatsby`,
short_name: `gatsbyTest`,
start_url: `/`,
background_color: `#6b37bf`,
theme_color: `#6b37bf`,
// Enables "Add to Homescreen" prompt and disables browser UI (including back button)
// see https://developers.google.com/web/fundamentals/web-app-manifest/#display
display: `standalone`,
icon: `src/images/icon.png`, // This path is relative to the root of the site.
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/content/blog-posts`,
name: `blog-posts`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/content/news`,
name: `news`,
},
},
`gatsby-plugin-sass`,
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
],
}