-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
gatsby-config.js
39 lines (39 loc) · 1017 Bytes
/
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
module.exports = {
siteMetadata: {
title: 'GITSTART',
author: 'rishabh-bansal',
profile: 'https://github.com/rishabh-bansal',
siteUrl: `https://gitstart.tech`
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-transformer-remark',
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/profiles`,
name: 'profiles',
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-101997744-4",
// Puts tracking script in the head instead of the body
head: true,
// Setting this parameter is optional
anonymize: true,
// Setting this parameter is also optional
respectDNT: true,
// Avoids sending pageview hits from custom paths
exclude: ["/preview/**", "/do-not-track/me/too/"],
},
},
{
//for generating sitemaps for the website
resolve: `gatsby-plugin-sitemap`
}
]
}