-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
75 lines (74 loc) · 1.81 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
68
69
70
71
72
73
74
75
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
pathPrefix: "/blog-gatsby-app",
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-179972637-1",
head: true,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Zhanar Osmonaliev | Personal Blog`,
short_name: `Perosonal Blog`,
start_url: `/`,
background_color: `#fff`,
theme_color: `#381696`,
display: `standalone`,
icon: "src/images/icon-lg.png",
},
},
`gatsby-plugin-sass`,
{
resolve: `gatsby-plugin-material-ui`,
options: {
stylesProvider: {
injectFirst: true,
},
},
},
`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`,
],
};