-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.mjs
44 lines (41 loc) · 919 Bytes
/
gatsby-config.mjs
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
import remarkGfm from "remark-gfm"
import { dirname } from "path"
import { fileURLToPath } from "url"
const __dirname = dirname(fileURLToPath(import.meta.url))
const config = {
siteMetadata: {
siteUrl: "https://pimentel.page",
title: "pimentel.page",
},
plugins: [
"gatsby-plugin-catch-links",
"gatsby-plugin-image",
"gatsby-plugin-sharp",
{
resolve: "gatsby-source-filesystem",
options: {
name: `blog`,
path: `${__dirname}/blog`,
}
},
{
resolve: "gatsby-plugin-mdx",
options: {
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 800,
}
}
],
mdxOptions: {
remarkPlugins: [remarkGfm],
}
}
},
"gatsby-transformer-sharp",
"gatsby-plugin-htaccess"
],
};
export default config