-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
63 lines (63 loc) · 1.57 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
module.exports = {
siteMetadata: {
title: "RHUL Computing Society",
decription: "Royal Holloway, University of London Computing Society",
author: "jcsawyer123",
twitter: "jcsawyer123",
github: "rhul-compsoc",
siteUrl: "https://computingsociety.co.uk",
},
mapping: {
"Mdx.frontmatter.people.id": "Mdx.fields.id",
// "MarkdownRemark.frontmatter.pastevents.event": "MarkdownRemark.fields.name",
// "MarkdownRemark.frontmatter.events.event": "MarkdownRemark.fields.name",
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `posts`,
path: `${__dirname}/src/posts`,
},
},
{
resolve: "gatsby-plugin-sass",
options: {
useResolveUrlLoader: true,
sassOptions: {
includePaths: ["src/assets/scss"],
},
implementation: require("sass"),
},
},
"gatsby-transformer-sharp",
"gatsby-plugin-sharp",
"gatsby-plugin-netlify",
"gatsby-plugin-react-helmet",
{
resolve: "gatsby-plugin-mdx",
options: {
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 1200,
},
},
],
},
},
{
resolve: "gatsby-plugin-manifest",
options: {
name: "RHUL Computing Society",
short_name: "RHUL CompSoc",
start_url: "/",
background_color: "#ffffff",
theme_color: "#e5884e",
display: "standalone",
icon: "src/images/favicon.png",
},
},
],
};