forked from knightjdr/gatsby-starter-scientist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
107 lines (105 loc) · 3.06 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
module.exports = {
// pathPrefix: '/gatsby-starter-scientist',
siteMetadata: {
author: 'EeShan Bhatt',
description: 'marine robotics; embedded acoustics; data++',
siteUrl: 'https://eeshanbot.github.io',
title: 'eeshanbot',
// List of link buttons to include on the landing image. Delete this field
// and/or all entires if you do not want these links.
// options: 'contact', 'opportunities', 'people', 'publications', 'research'
primaryLinks: [
],
// List of PubMed IDs to include on the publication page. Delete this field
// and/or all entires if you do not want the publication page.
publications: [
12345678
],
// An array of links to display in the page footer. Include as many as you like
// (not just the ones here). If either the link or text is missing,
// it will not be shown. Delete this field and/or all entires to disable
// footer links.
footerLinks: [
{ text: 'GitHub', link: 'https://github.com/eeshanbot' },
{ text: 'Google Scholar', link: 'https://scholar.google.com/citations?user=Sp0hNFYAAAAJ&hl=en' },
],
},
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-image',
'gatsby-plugin-sharp',
'gatsby-plugin-sitemap',
'gatsby-plugin-styled-components',
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: 'gatsby-remark-emoji', // <-- this adds emoji
options: {
// default emojiConversion --> shortnameToUnicode
emojiConversion: 'shortnameToUnicode',
// when true, matches ASCII characters (in unicodeToImage and shortnameToImage)
// e.g. ;) --> 😉
ascii: false,
}
},
]
}
},
'gatsby-transformer-sharp',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'gatsby-starter-scientist',
short_name: 'scientist',
start_url: '/',
background_color: '#3d8183',
theme_color: '#3d8183',
display: 'standalone',
icon: 'src/images/favicon.png',
},
},
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /\.inline\.svg$/,
},
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'markdown',
path: `${__dirname}/src/markdown`,
},
},
{
resolve: 'gatsby-plugin-use-dark-mode',
options: {
classNameDark: 'dark-mode',
classNameLight: 'light-mode',
storageKey: 'darkMode',
minify: true,
},
},
{
resolve: "gatsby-plugin-google-tagmanager",
options: {
id: "GTM-NCWF85V",
// Defaults to false meaning GTM will only be loaded in production.
includeInDevelopment: false,
// Defaults to false
enableWebVitalsTracking: true,
},
},
],
};