-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathgatsby-config.js
77 lines (76 loc) · 2.38 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
const guid = process.env.NETLIFY_GOOGLE_ANALYTICS_ID;
module.exports = {
siteMetadata: {
title: 'Python España',
description:
'Python España es una asociación sin ánimo de lucro cuyo propósito es promover el uso del lenguaje de programación Python en España, servir como punto de encuentro a aquellos interesados en su uso y darles soporte en la medida de sus posibilidades.',
},
plugins: [
'gatsby-plugin-sass',
'gatsby-transformer-json',
'gatsby-plugin-react-helmet',
'gatsby-plugin-react-leaflet',
'gatsby-plugin-fontawesome-css',
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/content`,
name: 'content',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/pages`,
name: 'pages',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/data`,
name: 'data',
},
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: guid || 'UA-XXX-1',
// Puts tracking script in the head instead of the body
head: false,
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
'Limelight:400',
'Rubik+Mono+One:400',
'Rubik:400, 700, 900',
'Bowlby+One+SC: 400',
],
display: 'swap',
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: 'gatsby-remark-external-links',
options: {
target: '_blank',
rel: 'nofollow',
},
},
],
},
},
{
resolve: 'gatsby-plugin-react-leaflet',
options: {
linkStyles: true, // (default: true) Enable/disable loading stylesheets via CDN
},
},
],
};