-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
85 lines (84 loc) · 1.8 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
siteMetadata: {
title: "vigneri.me",
titleTemplate: "%s · The Real Hero",
description: "Questa è la descrizione del sito",
url: "http://localhost:8000",
siteUrl: "http://localhost:8000",
image: "/src/assets/image.jpg",
twitterUsername: "@geppegram",
},
plugins: [
'gatsby-remark-images',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'src',
path: `${__dirname}/src/`,
maxWidth: 1920,
linkImagesToOriginal: false,
withWebp: true,
},
},
{
resolve: 'gatsby-plugin-mdx',
options: {
extensions: [".mdx", ".md"],
gatsbyRemarkPlugins: [
'gatsby-remark-copy-linked-files',
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 1920,
linkImagesToOriginal: false,
withWebp: true,
},
},
],
},
},
{
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `src/utils/typography`,
},
},
{
resolve: "gatsby-plugin-page-progress",
options: {
includePaths: ["/", { regex: "^/blog/*" }],
excludePaths: ["/"],
height: 3,
prependToBody: false,
color: `#ef5350`
}
},
'gatsby-plugin-styled-components',
'gatsby-plugin-react-helmet',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
'gatsby-plugin-mdx',
'gatsby-plugin-postcss',
'gatsby-plugin-sitemap',
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'vigneri.me',
short_name: 'vigneri',
start_url: '/',
background_color: '#ef5350',
theme_color: '#ef5350',
display: 'standalone',
icon: 'src/assets/images/icon.png',
crossOrigin: `use-credentials`,
},
},
'gatsby-plugin-offline',
],
}