-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
64 lines (63 loc) · 1.55 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
siteMetadata: require("./site-meta-data.json"),
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `markdown-pages`,
path: `${__dirname}/_data`,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [{
resolve: `gatsby-remark-prismjs`,
options: {
classPrefix: "language-",
inlineCodeMarker: null,
aliases: {},
showLineNumbers: false,
noInlineHighlight: false,
},
},
{
resolve: 'gatsby-remark-emojis',
}],
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
// The property ID; the tracking code won't be generated without it. replace with yours
trackingId: "UA-164743872-1",
head: true,
}
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Delog GatbsyJS Starter`,
short_name: `Delog`,
start_url: `/`,
background_color: `#fff`,
theme_color: `#381696`,
display: `standalone`,
icon: "src/images/icon.png",
},
},
`gatsby-plugin-sass`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-netlify-cms`,
'gatsby-plugin-dark-mode',
// siteURL is a must for sitemap generation
`gatsby-plugin-sitemap`,
`gatsby-plugin-offline`,
],
}