-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
76 lines (75 loc) · 2.21 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
siteMetadata: {
title: `Bioscillators`,
description: `Exploring biophysical dynamical systems in javascript`,
author: `@norregaarden`,
siteUrl: `https://bioscillators.com`,
url: `https://bioscillators.com`,
links: [
['/goodwin', 'Goodwin Model'],
// ['/ultrasensitivity', 'Ultrasensitivity'],
['/lotka-volterra', 'Lotka-Volterra'],
['/harmonic-oscillator', 'Harmonic Oscillator'],
['/SIR', 'Epidemiology: SIR']
// ['/legacy/goodwin_legacy', 'Legacy | Goodwin'],
// ['/legacy/ultrasensitivity_legacy', 'Legacy | Ultrasensitivity']
]
},
plugins: [
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-167285836-1",
head: true,
},
},
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `src`,
path: `${__dirname}/src/`,
},
},
{
resolve: 'gatsby-plugin-exclude',
options: { paths: ['/legacy/**'] }, // , '!/app/demo/*' // all paths prefixed by /app/ will be excluded, except for app/demo/
// '/offline-plugin-app-shell-fallback/**', '!/offline-plugin-app-shell-fallback/index.html'
// ,
},
{
resolve: `gatsby-theme-material-ui`,
// options: {
// stylesConfig: {
// disableAutoprefixing: true,
// disableMinification: false
// },
// },
},
'gatsby-plugin-root-import',
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Bioscillators`,
short_name: `bioscillators`,
start_url: `/`,
background_color: `#000`,
theme_color: `#fff`,
display: `minimal-ui`,
icon: `src/images/cycle-icon.png`, // This path is relative to the root of the site.
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
`gatsby-plugin-offline`,
'gatsby-plugin-sitemap',
'gatsby-plugin-htaccess',
],
}