forked from eralpkaraduman/eralpkaraduman.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
37 lines (36 loc) · 917 Bytes
/
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
const siteAddress = new URL("https://eralpkaraduman.com")
module.exports = {
siteMetadata: {
title: 'Eralp Karaduman',
author: 'Eralp Karaduman',
description: 'Personal website of Eralp Karaduman',
siteUrl: siteAddress.href,
},
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-styled-components',
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/pages/index.md`,
name: "index-markdown-content",
},
},
`gatsby-transformer-remark`,
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: `UA-85599671-1`,
},
},
{
resolve: `gatsby-plugin-s3`,
options: {
bucketName: 'eralpkaraduman.com',
protocol: siteAddress.protocol.slice(0, -1),
hostname: siteAddress.hostname,
region: 'us-east-1',
},
},
],
}