forked from pomber/site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
55 lines (54 loc) · 1.39 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
const description = `
Also known as pombo, pomber, pombus, pombex, or any /pomb[a-z]+/ match.
I write code, write about writing code, sometimes talk about it, usually tweet about it.
`.trim()
module.exports = {
plugins: [
"gatsby-plugin-theme-ui",
"gatsby-plugin-react-helmet",
"gatsby-transformer-sharp",
"gatsby-plugin-sharp",
"gatsby-theme-waves",
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [`.mdx`, `.md`],
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 420,
linkImagesToOriginal: false,
},
},
"gatsby-remark-smartypants",
"@weknow/gatsby-remark-twitter",
"gatsby-remark-import-code",
],
remarkPlugins: [require(`remark-slug`)],
// rehypePlugins: [require(`rehype-waves`)],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `assets`,
path: `${__dirname}/static/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `posts`,
name: `posts`,
},
},
],
siteMetadata: {
title: "Rodrigo Pombo",
description,
url: "https://pomb.us",
image: "/profile.jpg", // Path to your image you placed in the 'static' folder
twitterUsername: "@pomber",
},
}