generated from hzoo/hopeinsource.com
-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
gatsby-config.js
69 lines (68 loc) · 1.83 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
60
61
62
63
64
65
66
67
68
69
let babel_metadata = {
title: "The Babel Podcast",
author: "Henry Zhu",
description: `Henry Zhu chats with other members of the team, TC39, and the JS community about the future of JavaScript, open source, and how it's all maintained.`,
gitOrg: "babel",
gitRepo: "podcast.babeljs.io",
siteUrl: "https://podcast.babeljs.io",
social: {
twitter: "@babeljs",
},
feed: {
rss: "https://feeds.transistor.fm/the-babel-podcast",
google:
"https://www.google.com/podcasts?feed=aHR0cHM6Ly9mZWVkcy50cmFuc2lzdG9yLmZtL3RoZS1iYWJlbC1wb2RjYXN0",
apple:
"https://podcasts.apple.com/us/podcast/the-babel-podcast/id1470143101",
spotify: "https://open.spotify.com/show/3TK8x8AGckeEQEtnJVZYAz",
},
};
module.exports = {
siteMetadata: babel_metadata,
pathPrefix: "/",
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/episodes`,
name: "episodes",
},
},
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [`.mdx`, `.md`],
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 590,
},
},
{
resolve: "gatsby-remark-autolink-headers",
options: {
offsetY: "20",
},
},
"gatsby-remark-copy-linked-files",
{
resolve: require.resolve(
"./plugins/gatsby-remark-podcast-timestamp"
),
},
],
plugins: [`gatsby-remark-autolink-headers`],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-react-helmet`,
{
resolve: "gatsby-plugin-typography",
options: {
pathToConfigModule: "src/utils/typography",
},
},
],
};