forked from transitive-bullshit/nextjs-notion-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.config.js
57 lines (48 loc) · 1.94 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
module.exports = {
// where it all starts -- the site's root Notion page (required)
rootNotionPageId: '6a76fdd9ec6d4ae2855aa790d620eec4',
// if you want to restrict pages to a single notion workspace (optional)
// (this should be a Notion ID; see the docs for how to extract this)
rootNotionSpaceId: null,
// basic site info (required)
name: '菜饼的技术博客',
domain: 'nextjs-notion-starter-kit-frankcbliu.vercel.app',
author: '菜饼',
// open graph metadata (optional)
description: '菜饼同学的技术博客',
socialImageTitle: 'Transitive Bullshit',
socialImageSubtitle: 'Hello World! 👋',
// social usernames (optional)
twitter: 'transitive_bs',
github: 'frankcbliu',
linkedin: 'fisch2',
wechatPublic: '菜饼不菜',
// default notion icon and cover images for site-wide consistency (optional)
// page-specific values will override these site-wide defaults
defaultPageIcon: null,
defaultPageCover: null,
defaultPageCoverPosition: 0.5,
// image CDN host to proxy all image requests through (optional)
// NOTE: this requires you to set up an external image proxy
imageCDNHost: null,
// Utteranc.es comments via GitHub issue comments (optional)
utterancesGitHubRepo: 'frankcbliu/nextjs-notion-blog',
utterancesGitHubLabel: '博客评论',
// whether or not to enable support for LQIP preview images (optional)
// NOTE: this requires you to set up Google Firebase and add the environment
// variables specified in .env.example
isPreviewImageSupportEnabled: true,
// map of notion page IDs to URL paths (optional)
// any pages defined here will override their default URL paths
// example:
//
// pageUrlOverrides: {
// '/foo': '067dd719a912471ea9a3ac10710e7fdf',
// '/bar': '0be6efce9daf42688f65c76b89f8eb27'
// }
pageUrlOverrides: {
'/os': 'ff8a4877c04f42eda0d050547c117ea5',
// '/closure': 'C-6cfc812927c44a688e874d6212265b30'
},
showPageAsideSocials: true,
}