-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsite.config.js
More file actions
82 lines (77 loc) · 2.86 KB
/
site.config.js
File metadata and controls
82 lines (77 loc) · 2.86 KB
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
79
80
81
82
const CONFIG = {
// profile setting (required)
profile: {
name: "Yuki",
image: "/notion-avatar.svg", // If you want to create your own notion avatar, check out https://notion-avatar.vercel.app
role: "software engineer",
bio: "Working as a software engineer",
linkedin: "yuki-hajun",
github: "HaJunYoo",
instagram: "",
medium: "hajuny129",
},
projects: [],
// blog setting (required)
blog: {
title: "YUKI's DEV LOG",
description: "주니어 개발자 Yuki의 개발 블로그입니다. AI, 데이터, SW 엔지니어링과 같이 다양한 개발 분야에 관심이 많습니다. 개발 관련 이야기들 (책 리뷰, 트러블 슈팅, 공부한 내용 등)과 회고를 적고 있습니다.",
scheme: "system", // 'light' | 'dark' | 'system'
},
// CONFIG configration (required)
link: "https://yukis-dev-log.site",
since: 2024, // If leave this empty, current year will be used.
lang: "ko-KR", // ['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
deployVersion: new Date().toISOString().slice(0, 16).replace('T', '-').replace(':', '-'),
// notion configuration (required)
notionConfig: {
pageId: process.env.NOTION_PAGE_ID,
},
// supabase configuration (optional)
supabaseConfig: {
url: process.env.NEXT_PUBLIC_SUPABASE_URL || process.env.SUPABASE_URL,
anonKey: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY || process.env.SUPABASE_ANON_KEY,
enable: Boolean(
(process.env.NEXT_PUBLIC_SUPABASE_URL || process.env.SUPABASE_URL) &&
(process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY || process.env.SUPABASE_ANON_KEY)
),
},
// 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: true,
config: {
repo: process.env.NEXT_PUBLIC_UTTERANCES_REPO || "",
"issue-term": "og:title",
label: "💬 Utterances",
},
},
cusdis: {
enable: false,
config: {
host: "https://cusdis.com",
appid: process.env.NEXT_PUBLIC_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: 21600 * 7, // revalidate time for [slug], index
}
module.exports = { CONFIG }