-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
128 lines (126 loc) · 3.14 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
module.exports = {
siteMetadata: {
title: `Movimiento por la Paz y la Vida`,
description: `Movimiento por la Paz y la Vida`,
author: `@mcljs` ,
siteUrl: `https://movimientoporlapazylavida.netlify.app`
},
flags:{
DEV_SSR: false
},
plugins: [
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-178999600-1",
head: true,
anonymize: true,
},
},
{
resolve: `gatsby-plugin-webfonts`,
options: {
fonts: {
google: [
{
family: "Roboto",
variants: ["400", "700"],
},
{ family: "Open Sans" },
],
},
},
},
{
resolve: 'gatsby-plugin-mailchimp',
options: {
endpoint: 'https://gmail.us7.list-manage.com/subscribe/post?u=f2b09504ccc94e655393cf34f&id=000de9b5d6',
},
},
`gatsby-plugin-twitter`,
`gatsby-plugin-mdx`,
`gatsby-plugin-gatsby-cloud`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-styled-components`,
`gatsby-plugin-social-cards`,
`gatsby-plugin-image`,
// nned to be the first to work with gatsby-remark-images
{
resolve: `gatsby-plugin-postcss`,
options: {
postCssPlugins: [require(`postcss-preset-env`)({ stage: 0 })],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `uploads`,
path: `${__dirname}/static/assets/img`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `posts`,
path: `${__dirname}/posts`,
},
},
{
resolve: `gatsby-plugin-nprogress`,
options: {
// Setting a color is optional.
color: "#e41e25",
// Disable the loading spinner.
showSpinner: true,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: "gatsby-remark-relative-images",
options: {
name: "uploads"
},
},
{
resolve: "gatsby-remark-images",
options: {
maxWidth: 960,
linkImagesToOriginal: false,
},
},
`gatsby-remark-lazy-load`,
`gatsby-remark-prismjs`,
],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Movimiento por la Paz y la Vida`,
short_name: `Movimiento por la Paz y la Vida`,
start_url: `/`,
background_color: `#16202c`,
theme_color: `#16202c`,
display: `minimal-ui`,
icon: `src/images/mpv-logo.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-sitemap`,
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
`gatsby-plugin-remove-serviceworker`,
`gatsby-plugin-netlify-cms`,
],
}