-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgatsby-config.js
More file actions
79 lines (77 loc) · 1.81 KB
/
gatsby-config.js
File metadata and controls
79 lines (77 loc) · 1.81 KB
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
const config = require('./src/utils/siteConfig')
const remarkPlugins = [
require('remark-slug'),
]
module.exports = {
siteMetadata: {
siteUrl: config.siteUrl,
title: config.siteTitle,
description: config.Description,
author: config.Author,
twitter: config.Twitter,
facebook: config.fbAppID,
organization: config.Organization,
canonicalUrl: config.canonicalUrl,
image: config.Image,
},
plugins: [
'gatsby-plugin-styled-components',
'gatsby-plugin-react-helmet',
//'gatsby-plugin-subfont',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-transformer-yaml',
`gatsby-plugin-advanced-sitemap`,
'gatsby-plugin-offline',
'gatsby-plugin-catch-links',
'gatsby-plugin-theme-ui',
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: `./src/data/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/static/images/`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: config.siteTitle,
short_name: config.shortTitle,
description: config.Description,
start_url: '/',
background_color: config.backgroundColor,
theme_color: config.themeColor,
display: "standalone",
icon: `static/images${config.siteLogo}`
},
},
{
resolve: 'gatsby-plugin-mdx',
options: {
extensions: ['.mdx', '.md'],
remarkPlugins,
}
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: 'UA-101495671-2',
head: false
},
},
{
resolve: 'gatsby-plugin-fathom',
options: {
siteId: 'EMHYBILA'
}
},
'gatsby-plugin-netlify',
],
}