-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgridsome.config.js
34 lines (31 loc) · 1.1 KB
/
gridsome.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
// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config
// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`
const isGithubPages = process.env.GITHUB_PAGES === 'true'
const siteUrl = isGithubPages ? 'https://nusadata.github.io' : 'https://www.nusadata.org'
const pathPrefix = isGithubPages ? '/web' : ''
module.exports = {
siteName: 'Nusadata',
siteDescription: 'Nusadata adalah tempat untuk melihat berbagai macam visualisasi data dan statistik yang menarik tentang Indonesia. Kami ingin membantu masyarakat untuk dapat mengakses informasi mengenai negeri kita ini dengan website yang cepat dan sumber yang kredibel.',
siteUrl,
pathPrefix,
titleTemplate: '%s',
icon: './src/images/favicon.png',
plugins: [
{
use: 'gridsome-plugin-tailwindcss',
options: {
purgeConfig: {
whitelistPatternsChildren: [/^tippy/]
}
}
},
{
use: '@gridsome/plugin-google-analytics',
options: {
id: 'UA-73365330-2'
}
}
]
}