forked from theodo/serverless-days
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
88 lines (88 loc) · 2.17 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
module.exports = {
siteMetadata: {
title: `Serverless Days Paris - 28 Septembre 2021`,
description: `La journée de conférence dédiée au serverless.`,
author: `Theodo`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `talks`,
path: `${__dirname}/src/talks`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `orgs`,
path: `${__dirname}/src/orgs`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `content`,
path: `${__dirname}/src/content`,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 200,
},
},
],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Serverless Days Paris - 28 September 2021`,
short_name: `sls days paris`,
start_url: `/`,
background_color: `#eff4ff`,
theme_color: `#5267FF`,
display: `minimal-ui`,
icon: `src/images/unicorn_mascot.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-sass`,
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
{
resolve: `gatsby-plugin-intl`,
options: {
// language JSON resource path
path: `${__dirname}/src/intl`,
// supported language
languages: [`en`, `fr`],
// language file path
defaultLanguage: `fr`,
// option to redirect to `/ko` when connecting `/`
redirect: true,
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-154720072-1",
},
},
],
}