-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
32 lines (31 loc) · 1.11 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
const MEASUREMENT_ID = 'G-V03MRX9P1N'
module.exports = {
siteMetadata: {
measurementId: MEASUREMENT_ID,
},
partytownProxiedURLs: [
`https://www.googletagmanager.com/gtag/js?id=${MEASUREMENT_ID}`,
],
plugins: [
{
resolve: 'gatsby-theme-portfolio-minimal',
options: {
siteUrl: 'https://tieukhoimai.me/', // Used for sitemap generation
manifestSettings: {
favicon: './content/images/contact.jpg', // Path is relative to the root
siteName: 'my /maɪ/ personal blog', // Used in manifest.json
shortName: "mai's personal blog", // Used in manifest.json
startUrl: '/', // Used in manifest.json
backgroundColor: '#FFFFFF', // Used in manifest.json
themeColor: '#000000', // Used in manifest.json
display: 'minimal-ui', // Used in manifest.json
},
contentDirectory: './content',
blogSettings: {
path: '/blog', // Defines the slug for the blog listing page
usePathPrefixForArticles: true, // Default true (i.e. path will be /blog/first-article)
},
},
},
],
}