-
Notifications
You must be signed in to change notification settings - Fork 13
/
gatsby-config.js
59 lines (59 loc) · 1.93 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
module.exports = {
siteMetadata: {
title: "Manim Community",
titleTemplate: "%s",
description:
"Manim is a community-maintained Python library for creating mathematical animations.",
url: `https://www.manim.community`, // No trailing slash allowed!
image: "/banner.png", // Path to the image placed in the 'static' folder, in the project's root directory.
twitterUsername: "@manim_community",
siteUrl: `https://www.manim.community`
},
plugins: [
{
resolve: `gatsby-plugin-sass`,
postCssPlugins: [require("autoprefixer")],
sassOptions: {
precision: 6
}
},
`gatsby-transformer-json`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./content`
}
},
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-transformer-remark`,
options: {
// GitHub Flavored Markdown mode
gfm: true,
// Plugins configs
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-autolink-headers`,
options: {
offsetY: `100`,
isIconAfterHeader: true,
},
},
],
},
},
`gatsby-remark-prismjs`,
`gatsby-remark-smartypants`
]
}
},
`gatsby-plugin-sitemap`
]
};