-
Notifications
You must be signed in to change notification settings - Fork 113
/
blog.config.js
23 lines (23 loc) · 1.12 KB
/
blog.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
const BLOG = {
lang: 'en-US', // ['en-US', 'zh-CN', 'zh-HK', 'zh-TW']
appearance: 'auto', // ['light', 'dark', 'auto'],
font: 'sans-serif', // ['sans-serif', 'serif']
lightBackground: '#FFFFFF', // use hex value, don't forget '#' e.g #fffefc
darkBackground: '#222222', // use hex value, don't forget '#'
autoCollapsedNavBar: false, // The automatically collapsed navigation bar
craftConfigShareUrl: process.env.CRAFT_CONFIG_SHARE_URL
? process.env.CRAFT_CONFIG_SHARE_URL
: 'https://www.craft.do/s/kQtcWqkv98cHhB', // The link to share your craft config
seo: {
keywords: ['Blog', 'Craft.do', 'Craft Docs', 'Next.js', 'TailwindCSS']
},
analytics: {
provider: '', // Currently support Umami, fill with 'umami' to enable or leave it empty to disable it.
umamiConfig: {
scriptUrl: '', // The url of your Umami script
websiteId: '' // The website id of your Umami instance
}
},
isProd: process.env.VERCEL_ENV === 'production' // distinguish between development and production environment (ref: https://vercel.com/docs/environment-variables#system-environment-variables)
}
module.exports = BLOG