-
Notifications
You must be signed in to change notification settings - Fork 22
/
gatsby-config.js
86 lines (86 loc) · 2.13 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
module.exports = {
siteMetadata: {
title: `Fidalgo | Front-end Developer`,
description: `I’m Fidalgo, a 23 years old self-taught Front-end developer, from Portugal.`,
author: `Fidalgo`,
siteUrl: 'https://fidalgo.dev',
social: {
twitter: 'fidalgodev',
instagram: 'fidalgodev',
linkedin: 'fidalgodev',
youtube: 'Fidalgodev',
facebook: 'fidalgodev',
github: 'fidalgodev',
email: '[email protected]'
},
// name of the image for social website share, should be in static folder
imageShare: `share.jpg`
},
plugins: [
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-141189217-1D',
// Defines where to place the tracking script - `true` in the head and `false` in the body
head: false
}
},
`gatsby-plugin-use-dark-mode`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`
}
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `content`,
path: `${__dirname}/src/content`
}
},
{
resolve: `gatsby-plugin-prefetch-google-fonts`,
options: {
fonts: [
{
family: `Montserrat`,
variants: [`200`, `400`, `400i`, `600`, `600i`, `700`]
}
]
}
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: 'gatsby-remark-external-links',
options: {
target: '_blank',
rel: 'noreferrer'
}
}
]
}
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Fidalgo | Front-end Developer`,
short_name: `Fidalgo`,
icon: `src/images/icon.png`,
start_url: `/`,
background_color: `#212121`,
theme_color: `#127EB1`,
display: `minimal-ui`
}
},
`gatsby-plugin-offline`
]
};