forked from morethanmin/morethan-log
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.config.js
78 lines (74 loc) · 2.37 KB
/
site.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
70
71
72
73
74
75
76
77
78
const CONFIG = {
// profile setting (required)
profile: {
name: "Kenny",
image: "/avatar.jpg", // If you want to create your own notion avatar, check out https://notion-avatar.vercel.app
role: "Software Development Engineer",
bio: "给我一个bug,或者一个hug",
email: "heystarlink@gmail.com",
linkedin: "",
github: "https://github.com/bugscleaner",
instagram: "",
},
projects: [
{
name: `Geek漫游指南`,
href: "https://github.com/bugscleaner",
},
],
// blog setting (required)
blog: {
title: "Geek漫游指南",
description: "Welcome to Geek漫游指南",
theme: "light"
},
// CONFIG configration (required)
link: "https://www.k-thoughts.site",
since: 2021, // If leave this empty, current year will be used.
lang: "zh-CN", // ['en-US', 'zh-CN', 'zh-HK', 'zh-TW', 'ja-JP', 'es-ES', 'ko-KR']
ogImageGenerateURL: "https://og-image-korean.vercel.app", // The link to generate OG image, don't end with a slash
seo: {
keywords : ["Blog", "Software", "Kenny", "Notion", "软件开发", "技术分享", "生活分享", "Kenny’s Thoughts", "后端", "java", "Java", "架构", "算法", "程序员"]
},
// notion configuration (required)
notionConfig: {
pageId: process.env.NOTION_PAGE_ID,
},
// plugin configuration (optional)
googleAnalytics: {
enable: true,
config: {
measurementId: process.env.NEXT_PUBLIC_GOOGLE_MEASUREMENT_ID || "",
},
},
googleSearchConsole: {
enable: true,
config: {
siteVerification: process.env.NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION || "",
},
},
naverSearchAdvisor: {
enable: false,
config: {
siteVerification: process.env.NEXT_PUBLIC_NAVER_SITE_VERIFICATION || "",
},
},
utterances: {
enable: false,
config: {
repo: process.env.NEXT_PUBLIC_UTTERANCES_REPO || "",
"issue-term": "og:title",
label: "💬 Utterances",
},
},
cusdis: {
enable: true,
config: {
host: "https://cusdis.com",
appid: process.env.CUSDIS_APP_ID || "", // Embed Code -> data-app-id value
},
},
isProd: process.env.VERCEL_ENV === "production", // distinguish between development and production environment (ref: https://vercel.com/docs/environment-variables#system-environment-variables)
revalidateTime: 86400, // revalidate time for [slug], index
}
module.exports = { CONFIG }