forked from the-programmers-hangout/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
92 lines (92 loc) · 2.2 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
module.exports = {
siteMetadata: {
title: `The Programmers Hangout`,
description: `A cozy community of programmers on Discord`,
author: `TPH Community`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-postcss`,
`gatsby-plugin-styled-components`,
`gatsby-plugin-polished`,
{
resolve: `@el7cosmos/gatsby-plugin-prefetch-google-fonts`,
options: {
fonts: [
{
family: `Montserrat`,
variants: [`400`, `700`],
},
{
family: `IBM+Plex+Sans`,
variants: [`400`, `700`],
},
{
family: `IBM+Plex+Mono`,
variants: [`400`],
},
],
},
},
`gatsby-plugin-layout`,
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [`.mdx`, `.md`],
plugins: [`gatsby-remark-auto-headers-improved`],
gatsbyRemarkPlugins: [`gatsby-remark-auto-headers-improved`],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `site`,
path: `${__dirname}/src/content/site`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `languages`,
path: `${__dirname}/src/content/resources/language`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `topics`,
path: `${__dirname}/src/content/resources/topic`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `spotlights`,
path: `${__dirname}/src/content/spotlights`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-react-svg`,
`gatsby-plugin-remove-trailing-slashes`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `The Programmers Hangout`,
short_name: `TPH`,
start_url: `/`,
background_color: `#1f2a34`,
theme_color: `#2874fe`,
display: `minimal-ui`,
icon: `src/images/icon.png`,
},
},
],
}