-
Notifications
You must be signed in to change notification settings - Fork 4
/
gatsby-config.js
145 lines (142 loc) · 3.4 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/*
* UCSC Xena Web
* https://xena.ucsc.edu/
*
* UCSC Xena Web configuration file.
*/
module.exports = {
siteMetadata: {
title: `UCSC Xena`,
description: `Securely analyze and visualize your private functional genomics data set in the context of public and shared genomic/phenotypic data sets.`,
author: `UCSC Xena Team`
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-favicon`,
options: {
logo: './images/favicon/favicon.png',
// WebApp Manifest Configuration
appName: null, // Inferred with your package.json
appDescription: null,
developerName: null,
developerURL: null,
dir: 'auto',
lang: 'en-US',
background: '#fff',
theme_color: '#fff',
display: 'standalone',
orientation: 'any',
start_url: '/?homescreen=1',
version: '1.0',
icons: {
android: true,
appleIcon: true,
appleStartup: true,
coast: false,
favicons: true,
firefox: true,
opengraph: false,
twitter: false,
yandex: false,
windows: false
}
}
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-30159111-7',
// Puts tracking script in the head instead of the body
head: false,
// Optional https://www.gatsbyjs.org/packages/gatsby-plugin-google-analytics/#the-anonymize-option
anonymize: true,
// Optional - do not track
respectDNT: true,
},
},
{
resolve: `gatsby-plugin-mailchimp`,
options: {
endpoint: '//ucsc.us13.list-manage.com/subscribe/post?u=854efce54e145c49d29e0bb59&id=65986d18f3',
},
},
`gatsby-plugin-manifest`,
{
resolve: `gatsby-plugin-react-css-modules`,
options: {
filetypes: {
'.scss': {syntax: 'postcss-scss'},
},
// Exclude global styles from the plugin
exclude: '\/global\/'
}
},
`gatsby-plugin-sharp`,
`gatsby-plugin-twitter`,
{
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `src/utils/typography`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `markdown-pages`,
path: `${__dirname}/content`,
},
},
`gatsby-remark-katex`,
`gatsby-remark-prismjs`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-custom-blocks`,
options: {
blocks: {
caption: {
classes: 'caption'
},
contentHero: {
classes: 'contentHero'
},
xenaButtonPeach: {
classes: 'xenaButton peach'
},
xenaButtonYellow: {
classes: 'xenaButton yellow'
}
}
}
},
{
resolve: `gatsby-remark-embed-video`,
options: {
width: 550,
ratio: 1.77, // Optional: Defaults to 16/9 = 1.77
related: false, //Optional: Will remove related videos from the end of an embedded YouTube video.
noIframeBorder: true //Optional: Disable insertion of <style> border: 0
}
},
`gatsby-remark-external-links`,
`gatsby-remark-responsive-iframe`,
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 550,
linkImagesToOriginal: false,
wrapperStyle: `margin: 0 !important;`,
}
},
]
}
},
`gatsby-transformer-sharp`,
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.app/offline
// `gatsby-plugin-offline`,
],
};