forked from craigary/nobelium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.config.js
69 lines (69 loc) · 2.73 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
63
64
65
66
67
68
69
const BLOG = {
title: "blog 📝",
author: "Ben Mitchinson",
email: "[email protected]",
link: "https://blog.mitchinson.dev",
aboutLink: "https://mitchinson.dev",
description: "Blog of Ben Mitchinson",
lang: "en-US", // ['en-US', 'zh-CN', 'zh-HK', 'zh-TW', 'ja-JP', 'es-ES']
appearance: "auto", // ['light', 'dark', 'auto'],
font: "font-montserrat", // defined in tailwind.config.js fontFamily
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: 2017, // If leave this empty, current year will be used.
postsPerPage: 6,
sortByDate: 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/115bwm",
seo: {
keywords: [
"Blog",
"Website",
"Notion",
"Mitchinson",
"Ben",
"Accenture",
"Iowa",
"Software",
],
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: "", // 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: "",
},
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;