-
Notifications
You must be signed in to change notification settings - Fork 24
/
gatsby-config.js
126 lines (125 loc) · 3 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
module.exports = {
siteMetadata: {
siteUrl: "https://devfest2024.gdgnantes.com",
title: "Devfest Nantes 2024",
image: "/images/social-share.jpg",
},
plugins: [
"gatsby-plugin-typescript",
"gatsby-theme-material-ui",
"gatsby-plugin-sass",
"gatsby-plugin-image",
"gatsby-plugin-graphql-config",
{
resolve: `gatsby-plugin-react-helmet-canonical-urls`,
options: {
siteUrl: `https://devfest2024.gdgnantes.com`,
},
},
{
resolve: `gatsby-theme-i18n`,
options: {
defaultLang: `fr`,
configPath: require.resolve(`./locales/config.json`),
prefixDefault: false,
},
},
{
resolve: `gatsby-theme-i18n-react-i18next`,
options: {
locales: `./locales`,
i18nextOptions: {
ns: ["translation"],
},
},
},
// {
// resolve: "gatsby-plugin-google-gtag",
// options: {
// trackingIds: ["G-D66NP8CLV0"],
// },
// },
"gatsby-plugin-react-helmet",
"gatsby-plugin-sitemap",
{
resolve: "gatsby-plugin-manifest",
options: {
icon: "static/images/maskable_icon.png",
icon_options: {
purpose: `any maskable`,
},
name: `Devfest Nantes 2024`,
short_name: `Devfest Nantes`,
start_url: `/`,
background_color: `#0e1324`,
theme_color: `#22263f`,
display: `standalone`,
description: `Informations générales sur le Devfest Nantes`,
lang: `fr`,
localize: [
{
start_url: `/en/`,
lang: `en`,
name: `Devfest Nantes 2024`,
short_name: `Devfest Nantes`,
description: `General informations about the Devfest Nantes.`,
},
{
start_url: `/fr/`,
lang: `fr`,
description: `Informations générales sur le Devfest Nantes.`,
},
],
},
},
// "gatsby-plugin-offline",
"gatsby-plugin-remove-serviceworker",
{
resolve: `gatsby-plugin-mdx`,
options: {
defaultLayouts: {
default: require.resolve("./src/layout/mdx.tsx"),
},
},
},
{
resolve: "gatsby-plugin-page-creator",
options: {
path: `${__dirname}/src/pages`,
},
},
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: "./src/images/",
},
__key: "images",
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "pages",
path: "./src/pages/",
},
__key: "pages",
},
`gatsby-transformer-yaml`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./data/`,
},
},
// {
// resolve: `gatsby-plugin-remote-images`,
// options: {
// nodeType: "SpeakersYaml",
// imagePath: "photoUrl",
// },
// },
],
trailingSlash: "always",
};