-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgatsby-config.js
More file actions
81 lines (81 loc) · 2.3 KB
/
gatsby-config.js
File metadata and controls
81 lines (81 loc) · 2.3 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
80
81
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
siteMetadata: {
title: `Juan Murillo`,
description: `Colombian Software Engineer passionate about web development and coffee.`,
image:
"https://images.prismic.io/juanmurillo/5b80d6a0-22b2-425b-b33d-f6a77a88c5d3_arje_car_high.jpg?auto=compress,format",
author: `Juan Murillo | juanmurillo.co`,
},
trailingSlash: `never`,
plugins: [
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-image`,
`gatsby-plugin-catch-links`,
`gatsby-plugin-sass`,
`gatsby-plugin-resolve-src`,
`gatsby-plugin-emotion`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-image`,
{
resolve: "gatsby-source-prismic",
options: {
repositoryName: process.env.GATSBY_PRISMIC_REPO_NAME,
accessToken: process.env.PRISMIC_ACCESS_TOKEN,
customTypesApiToken: process.env.PRISMIC_CUSTOM_TYPES_API_TOKEN,
linkResolver: require('./src/utils/linkResolver').linkResolver,
},
},
{
resolve: `gatsby-plugin-intl`,
options: {
path: `${__dirname}/src/intl`,
languages: [`en-us`, `es-co`],
defaultLanguage: `en-us`,
redirect: false,
},
},
// https://www.gatsbyjs.com/plugins/gatsby-plugin-google-gtag/
{
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: ["GTM-53VVVRQ", "UA-151322260-1", "G-ZNGGDD10ZV"],
pluginConfig: {
head: true,
},
},
},
{
resolve: "gatsby-plugin-html-attributes",
options: {
lang: "en-US",
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Juan Murillo`,
short_name: `JM`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/favicon.png`, // This path is relative to the root of the site.
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
}