-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
70 lines (69 loc) · 1.62 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
const mdxFeed = require("gatsby-mdx/feed");
module.exports = {
siteMetadata: {
title: "Matt Lane",
description: "Inside the mind of Matt Lane. Teacher, math doctor, lover of ice cream. Stories on the intersection of math, equity, games, and whatever else piques my interest.",
siteUrl: process.env.GATSBY_BASE_URL
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `pages`,
path: `${__dirname}/src/pages/articles/`
}
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`
}
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `csvData`,
path: `${__dirname}/src/data/csv`
}
},
`gatsby-transformer-csv`,
{
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `src/utils/typography`
}
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-110074252-1",
anonymize: true
}
},
{
resolve: `gatsby-plugin-feed`,
options: mdxFeed
},
{
resolve: `gatsby-mdx`,
options: {
gatsbyRemarkPlugins: [
{
resolve: "gatsby-remark-images",
options: {
maxWidth: 1080,
showCaptions: true
}
}
]
}
},
`gatsby-plugin-react-helmet`,
`gatsby-plugin-sitemap`,
`gatsby-plugin-resolve-src`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-styled-components`
]
};