This repository has been archived by the owner on Sep 12, 2022. It is now read-only.
/
gatsby-config.js
67 lines (67 loc) · 2 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
module.exports = {
siteMetadata: {
title: `Full Stack Dev`,
description: `Dinesh Pandiyan is a Full Stack Engineer with amazing JavaScript skills. He is the author of popular open source projects like Typy, React Socks, React RenderInBrowser, Dev Landing Page and more.`,
author: `@flexdinesh`,
fullName: `Dinesh Pandiyan`,
twitterHandle: `https://twitter.com/flexdinesh`,
githubHandle: `https://github.com/flexdinesh`,
stackOverflowHandle: `https://stackoverflow.com/story/flexdinesh`,
devToHandle: `https://dev.to/flexdinesh`,
mediumHandle: `https://medium.com/@flexdinesh`,
linkedInHandle: `https://www.linkedin.com/in/dineshpandiyan/`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-transformer-remark`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: `${__dirname}/src/data`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `blog`,
path: `${__dirname}/src/blog/`,
},
},
`gatsby-transformer-javascript-frontmatter`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `portfolio`,
short_name: `portfolio`,
start_url: `/`,
background_color: `#5badf0`,
theme_color: `#5badf0`,
display: `minimal-ui`,
icon: `src/images/boy.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-sass`,
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-115359405-1',
// Puts tracking script in the head instead of the body
head: false,
// Setting this parameter is optional
anonymize: true,
// Setting this parameter is also optional
respectDNT: true,
},
},
],
}