/
gatsby-config.js
58 lines (57 loc) · 1.35 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
require("dotenv").config();
module.exports = {
siteMetadata: {
title: `Tjin Au Yeung - Software Consultant at Xebia`,
author: `Tjin Au Yeung`,
description: "Personal blog of Tjin Au Yeung",
host: 'https://tjinauyeung.com',
social: {
twitter: `tjinauyeung`
},
},
plugins: [
`gatsby-plugin-typescript`,
`gatsby-plugin-sass`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/content`,
name: `articles`
}
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/assets`,
name: `assets`
}
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
`gatsby-remark-prismjs`,
`gatsby-remark-copy-linked-files`,
`gatsby-remark-smartypants`,
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 900,
wrapperStyle: `
width: calc(100% + calc(var(--padding-container) * 2));
margin: var(--spacer-xl) calc(var(--padding-container) * -1);
`
}
}
]
}
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: `UA-143525874-1`
}
}
]
};