-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
47 lines (47 loc) · 1.26 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
module.exports = {
pathPrefix: '/chronosophia',
siteMetadata: {
title: 'Chronosophia',
description: 'Philosopher organization over time and relations',
author: '@kloder',
},
mapping: {
'MarkdownRemark.frontmatter.teachers': 'MarkdownRemark.frontmatter.id',
'MarkdownRemark.frontmatter.students': 'MarkdownRemark.frontmatter.id',
},
plugins: [
'gatsby-plugin-sass',
'gatsby-plugin-styled-components',
'@rhysforyou/gatsby-plugin-react-helmet-async',
'gatsby-transformer-sharp',
'gatsby-transformer-remark',
'gatsby-plugin-sharp',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'philosophers',
path: `${__dirname}/data/philosophers/`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'works',
path: `${__dirname}/data/works/`,
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Chronosophia',
short_name: 'Chronosophia',
start_url: '/',
background_color: '#FFFFFF',
theme_color: '#663399',
display: 'standalone',
icon: 'src/images/logo.png', // This path is relative to the root of the site.
},
},
'gatsby-plugin-offline',
],
};