-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
99 lines (99 loc) · 2.45 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
module.exports = {
siteMetadata: {
title: `Akshay Gulhane | Full Stack Web Developer`,
description: `I’m Akshay Gulhane, a Full Stack Web Developer`,
author: `Akshay Gulhane`,
siteUrl: 'https://akshr.dev',
social: {
twitter: 'akshaygulhane',
instagram: 'coder_aks',
linkedin: 'akshaygulhane',
youtube: 'akshaygulhane',
facebook: 'akshaygulhane',
github: 'akshaygulhane',
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-85607794-1',
// Defines where to place the tracking script - `true` in the head and `false` in the body
head: true,
},
},
`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-webfonts`,
options: {
fonts: {
google: [
{
family: `Montserrat`,
variants: [`200`, `400`, `400i`, `600`, `600i`, `700`],
//subsets: ['latin']
//text: 'Hello'
//fontDisplay: 'swap',
//strategy: 'selfHosted' // 'base64' || 'cdn'
},
]
}
}
},
`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: `Akshay Gulhane | Full Stack Developer`,
short_name: `Akshay`,
icon: `src/images/icon.png`,
start_url: `/`,
background_color: `#212121`,
theme_color: `#127EB1`,
display: `minimal-ui`,
},
},
`gatsby-plugin-offline`,
{
resolve: `gatsby-plugin-hotjar`,
options: {
id: 1853818,
sv: 6
},
},
],
};