-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathgatsby-config.js
36 lines (36 loc) · 915 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
module.exports = {
siteMetadata: {
title: `Scotchy-Vid-Blog`,
},
plugins:[
{
resolve: `gatsby-source-filesystem`,
options: {
name: `src`,
path: `${__dirname}/src/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options:{
name: `posts`,
path: `${__dirname}/src/posts/`
}
},
{
resolve: `gatsby-plugin-typography`,
options:{
pathToConfigModule: `src/utils/typography.js`
}
},
{
resolve: `gatsby-mdx`,
options: {
defaultLayouts: {
posts: require.resolve("./src/components/layout.js"),
default: require.resolve("./src/components/layout.js")
}
}
},
]
}