forked from craigary/nobelium
-
Notifications
You must be signed in to change notification settings - Fork 3
/
blog.config.js
62 lines (62 loc) · 2.8 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
61
62
const BLOG = {
title: '布鲁斯鱼的妙想天开',
author: 'bluesyu',
email: '[email protected]',
link: 'https://next.emergencyexit.xyz/',
description: '此间的博文大抵有两类,一种是水的,另一种仍是水的罢。 —— 鲁迅',
lang: 'zh-CN', // ['en-US', 'zh-CN', 'zh-HK', 'zh-TW', 'ja-JP', 'es-ES']
appearance: 'auto', // ['light', 'dark', 'auto'],
font: 'sans-serif', // ['sans-serif', 'serif']
lightBackground: '#ffffff', // use hex value, don't forget '#' e.g #fffefc
darkBackground: '#18181B', // use hex value, don't forget '#'
path: '', // leave this empty unless you want to deploy Nobelium in a folder
since: 2019, // If leave this empty, current year will be used.
postsPerPage: 9,
sortByDate: true,
showAbout: true,
showArchive: true,
autoCollapsedNavBar: false, // The automatically collapsed navigation bar
ogImageGenerateURL: 'https://og-image-craigary.vercel.app', // The link to generate OG image, don't end with a slash
socialLink: 'https://twitter.com/bluesedenyu',
seo: {
keywords: ['Blog', 'Notion', 'Tech', 'Python', 'Django'],
googleSiteVerification: '' // Remove the value or replace it with your own google site verification code
},
// notionPageId: process.env.NOTION_PAGE_ID, // DO NOT CHANGE THIS!!!
notionPageId: 'a60899092d0d43efaf935e041712e826',
notionAccessToken: process.env.NOTION_ACCESS_TOKEN, // Useful if you prefer not to make your database public
analytics: {
provider: 'ga', // 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: 'G-WV23EXEF9X' // e.g: G-XXXXXXXXXX
}
},
comment: {
// support provider: gitalk, utterances, cusdis
provider: 'utterances', // leave it empty if you don't need any comment plugin
gitalkConfig: {
repo: '', // The repository of store comments
owner: '',
admin: [],
clientID: '',
clientSecret: '',
distractionFreeMode: false
},
utterancesConfig: {
repo: 'IMBlues/IMBlues.github.io'
},
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