forked from loveneeshdhir/First-Commit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
39 lines (39 loc) · 1020 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: 'FirstCommit',
author: 'loveneeshdhir',
profile: 'https://github.com/loveneeshdhir',
siteUrl: `https://firstcommit.org`
},
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`
}
]
}