-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
113 lines (112 loc) · 2.55 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
flags: {},
plugins: [
'gatsby-plugin-postcss',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-plugin-react-helmet',
'gatsby-plugin-typescript',
'gatsby-plugin-image',
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://www.lelivredesrois.com',
policy: [{ userAgent: '*', allow: '/' }],
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Le livre des Rois',
short_name: 'Shâhnâmeh',
start_url: '/',
display: 'standalone',
lang: 'fr',
icon: `src/images/icon.svg`,
theme_color_in_head: false,
cache_busting_mode: 'none',
icon_options: {
purpose: `any maskable`,
},
},
},
{
resolve: 'gatsby-plugin-offline',
options: {
workboxConfig: {
globPatterns: ['**/icon*'],
},
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
// It's important to specify the maxWidth (in pixels) of
// the content container as this plugin uses this as the
// base for generating different widths of each image.
maxWidth: 960,
},
},
],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'mardown',
path: `${__dirname}/src/markdown`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'graphs',
path: `${__dirname}/src/graphs`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'tags',
path: `${__dirname}/src/tags`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'gis',
path: `${__dirname}/src/gis`,
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-162171486-1',
anonymize: true,
respectDNT: true,
},
},
],
siteMetadata: {
title: 'Le Livre des Rois',
siteUrl: 'https://www.lelivredesrois.com/',
},
};