-
Notifications
You must be signed in to change notification settings - Fork 9
/
site.config.ts
96 lines (84 loc) · 3.23 KB
/
site.config.ts
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
import { siteConfig } from './lib/site-config'
export default siteConfig({
// the site's root Notion page (required)
rootNotionPageId: '3ed6053553a04e0698a981797052d7cb',
// It's will be used as the root page when running `yarn dev`. (optional)
// If you are suffering from the slow loading or compiling speed, set this to a smaller page.
// Just leave `null` if you don't want to use it.
rootNotionTestPageId: null,
// 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: 'FKYnJYQ',
domain: 'nexon-demo.vercel.app',
author: 'Feng Kaiyu',
// open graph metadata (optional)
description: 'Code for Good.',
// social usernames (optional)
twitter: 'FKYnJYQ',
github: 'fky2015',
linkedin: '',
// mastodon: '#', // optional mastodon profile URL, provides link verification
// newsletter: '#', // optional newsletter URL
// youtube: '#', // optional youtube channel name or `channel/UCGbXXXXXXXXXXXXXXXXXXXXXX`
// 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,
// Giscus comments via Github Discusstion (optional)
//
// To generate the following configs, visit https://giscus.app/.
giscusGithubConfig: {
repo: 'fky2015/nexon',
repoId: 'MDEwOlJlcG9zaXRvcnkzNzkxNDQ0NTQ=',
category: 'Comments',
categoryId: 'DIC_kwDOFplJBs4COB_h',
mapping: 'title',
reactionsEnabled: '1',
theme: 'light',
term: null
},
// whether or not to enable support for LQIP preview images (optional)
isPreviewImageSupportEnabled: true,
// whether or not redis is enabled for caching generated preview images (optional)
// NOTE: if you enable redis, you need to set the `REDIS_HOST` and `REDIS_PASSWORD`
// environment variables. see the readme for more info
isRedisEnabled: false,
// 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: null,
// Optional: Normally, the page contain it's metadata
// like `CreatedTime`, `LastEditedTime`.
// These metadata cannot be changed by the user.
// If you want to override this with a page property (so that
// you can custom it's value), specify it's name here.
//
// This should align with the property name in Notion.
// And the data type should be `Date` or `String`.
// Any invalid data type will be ignored and fallback to default metadata.
//
// These metadata will be used when generating RSS, Sitemap, etc.
OverrideCreatedTime: null,
OverrideLastEditedTime: null,
// whether to use the default notion navigation style or a custom one with links to
// important pages
navigationStyle: 'custom',
navigationLinks: [
{
title: 'About',
pageId: '4411298a413c4833a558bc6bd0a87d72'
},
{
title: 'Contact',
pageId: '0ffc434b7004472a93e1b156d6db553c'
}
]
})