-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
47 lines (47 loc) · 1.18 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
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
}),
module.exports = {
siteMetadata: {
title: `Democracia en Red`,
description: `Creamos espacios de participación para la ciudadanía en la toma de decisiones públicas.`,
author: `@DemocraciaEnRed`,
publisher: `@DemocraciaEnRed`,
siteUrl: `https://www.democraciaenred.org/`,
robot: `all`
},
plugins: [
`gatsby-plugin-styled-components`,
"gatsby-plugin-sass",
{
resolve: "gatsby-plugin-google-gtag",
options: {
trackingIds: ["G-PB9BN0PCCB"],
},
},
"gatsby-plugin-react-helmet",
"gatsby-plugin-sitemap",
"gatsby-plugin-mdx",
{
resolve: "gatsby-source-filesystem",
options: {
name: "pages",
path: "./src/pages/",
},
__key: "pages",
},
{
resolve: `gatsby-plugin-intl`,
options: {
// language JSON resource path
path: `${__dirname}/src/intl`,
// supported language
languages: [`es`, `en`],
// language file path
defaultLanguage: `es`,
// option to redirect to `/ko` when connecting `/`
redirect: false,
},
},
],
};