-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathgatsby-config.js
67 lines (67 loc) · 1.73 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
56
57
58
59
60
61
62
63
64
65
66
67
module.exports = {
siteMetadata: {
title: `Gatsby-Starter`,
description: `A good description that will show up in Google Search`,
author: `@flexdinesh`,
fullName: `Dinesh Pandiyan`,
twitterHandle: `https://twitter.com/flexdinesh`,
},
plugins: [
`gatsby-plugin-react-helmet`,
// markdown to pages for blog
`gatsby-transformer-remark`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: `${__dirname}/src/data`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `blog`,
path: `${__dirname}/src/blog/`,
},
},
// loading static data through GraphQL query
`gatsby-transformer-javascript-frontmatter`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
// favicon generator
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `favicon`,
short_name: `favicon`,
start_url: `/`,
background_color: `#5badf0`,
theme_color: `#5badf0`,
display: `minimal-ui`,
icon: `src/images/moustache.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-sass`,
/*
// google-analytics
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'your-tracking-code',
// Puts tracking script in the head instead of the body
head: false,
// Setting this parameter is optional
anonymize: true,
// Setting this parameter is also optional
respectDNT: true,
},
},*/
],
}