forked from ucscXena/xena-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
122 lines (119 loc) · 2.78 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
/*
* 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-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`,
{
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: {
contentHero: {
classes: "contentHero",
}
}
}
},
{
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-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',
],
};