-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
124 lines (122 loc) · 2.85 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
/**
* @type {import('gatsby').GatsbyConfig}
*/
require('dotenv').config();
const pathPrefix = process.env.PATH_PREFIX || '/2023';
module.exports = {
pathPrefix,
siteMetadata: {
title: 'SudWeb - La conférence Web surtout Humaine',
siteUrl: 'https://www.sudweb.fr/2023/',
},
plugins: [
'gatsby-theme-material-ui-top-layout',
'gatsby-plugin-material-ui',
// 'gatsby-plugin-netlify-cms',
'gatsby-plugin-netlify',
'gatsby-plugin-image',
{
resolve: 'gatsby-plugin-sitemap',
options: {
excludes: [
'/code-de-conduite',
'/erreur',
'/example',
'/merci-contact',
'/merci',
'/newsletter-confirmation',
'/newsletter-desabonnement',
'/newsletter-merci',
],
},
},
{
resolve: 'gatsby-plugin-mdx',
options: {
extensions: ['.mdx', '.md'],
gatsbyRemarkPlugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 1200,
},
},
],
},
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-plugin-plausible',
options: {
domain: 'sudweb.fr',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: './src/images/',
},
__key: 'images',
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'pages',
path: './src/pages/',
},
__key: 'pages',
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'speakers',
path: './src/speakers/',
},
__key: 'speakers',
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'events',
path: './src/events/',
},
__key: 'events',
},
'gatsby-transformer-remark',
{
resolve: 'gatsby-plugin-webfonts',
options: {
fonts: {
selfHosted: [
{
family: 'Oraqle Script',
urls: {
woff: '/src/assets/fonts/subset-OraqleScript.woff',
woff2: '/src/assets/fonts/subset-OraqleScript.woff2',
},
fontDisplay: 'block',
},
],
google2: [
{
family: 'Plus Jakarta Sans',
axes: 'ital,wght@' + [
'0,300', '0,400', '0,500', '0,600', '0,700',
'1,300', '1,400', '1,500', '1,600', '1,700',
].join(';'),
},
{
family: 'Syne',
axes: 'ital,wght@' + [
'0,300', '0,400', '0,500', '0,600', '0,700',
'1,300', '1,400', '1,500', '1,600', '1,700',
].join(';'),
},
],
},
},
},
],
};