-
Notifications
You must be signed in to change notification settings - Fork 23
/
gatsby-config.js
41 lines (41 loc) Β· 1.31 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
module.exports = {
siteMetadata: {
title: "Regular Expressions for Regular Folk",
titleTemplate: "%s | Regular Expressions for Regular Folk (REFRF)",
description:
"REFRF is a visual, example-based introduction to regular expressions in the form of an experimental e-book",
siteUrl: "https://refrf.dev",
},
pathPrefix: "",
plugins: [
{
resolve: "gatsby-source-filesystem",
options: {
name: "chapters",
path: `${__dirname}/chapters`,
},
},
{
resolve: "gatsby-plugin-mdx",
options: {
gatsbyRemarkPlugins: [
{
resolve: "gatsby-remark-smartypants",
},
{
resolve: "gatsby-remark-autolink-headers",
options: {
icon: false,
},
},
],
defaultLayouts: {
chapters: require.resolve("./src/layouts/chapter.js"),
default: require.resolve("./src/layouts/chapter.js"),
},
},
},
"gatsby-plugin-sitemap",
"gatsby-plugin-dark-mode",
],
};