forked from craigary/nobelium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.config.js
60 lines (60 loc) · 2.54 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
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
59
60
const BLOG = {
title: 'Way to Canada',
author: 'Alex Lee',
email: '[email protected]',
link: 'https://v2ca.ca',
description: 'This gonna be an awesome website.',
lang: 'zh-CN',
appearance: 'auto', // ['light', 'dark', 'auto'],
font: 'sans-serif', // ['sans-serif', 'serif']
lightBackground: '#ffffff', // use hex value, don't forget '#' e.g #fffefc
darkBackground: '#111827', // use hex value, don't forget '#'
path: '', // leave this empty unless you want to deploy Nobelium in a folder
since: 2021, // if leave this empty, current year will be used.
postsPerPage: 7,
sortByDate: false,
showAbout: true, // WIP
showArchive: true, // WIP
autoCollapsedNavBar: false, // the automatically collapsed navigation bar
socialLink: 'https://twitter.com/craigaryhart',
seo: {
keywords: ['Blog', 'Website', 'Notion'],
googleSiteVerification: '' // Remove the value or replace it with your own google site verification code
},
notionPageId: process.env.NOTION_PAGE_ID, // DO NOT CHANGE THIS!!!
notionAccessToken: process.env.NOTION_ACCESS_TOKEN, // Useful if you prefer not to make your database public
analytics: {
provider: '', // Currently we support Google Analytics and Ackee, please fill with 'ga' or 'ackee', leave it empty to disable it.
ackeeConfig: {
tracker: '', // e.g 'https://ackee.craigary.net/tracker.js'
dataAckeeServer: '', // e.g https://ackee.craigary.net , don't end with a slash
domainId: '' // e.g '0e2257a8-54d4-4847-91a1-0311ea48cc7b'
},
gaConfig: {
measurementId: '' // e.g: G-XXXXXXXXXX
}
},
comment: {
// support provider: gitalk, utterances, cusdis
provider: 'gitalk', // leave it empty if you don't need any comment plugin
gitalkConfig: {
repo: 'gtalk', // The repository of store comments
owner: 'alexlee-git',
admin: ['alexlee-git'],
clientID: '2ff7861d07e256d38393',
clientSecret: '3e67c255476c26f351179da03d4a784598163010',
distractionFreeMode: false
},
utterancesConfig: {
repo: ''
},
cusdisConfig: {
appId: '', // data-app-id
host: 'https://cusdis.com', // data-host, change this if you're using self-hosted version
scriptSrc: 'https://cusdis.com/js/cusdis.es.js' // change this if you're using self-hosted version
}
},
isProd: process.env.VERCEL_ENV === 'production' // distinguish between development and production environment (ref: https://vercel.com/docs/environment-variables#system-environment-variables)
}
// export default BLOG
module.exports = BLOG