forked from transitive-bullshit/nextjs-notion-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsite.config.ts
78 lines (65 loc) · 2.42 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
import { siteConfig } from './lib/site-config'
export default siteConfig({
// where it all starts -- the site's root Notion page (required)
rootNotionPageId: 'f6f85c1f4880434d868f7cd43bd08c33',
// 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: 'Lambd4',
// basic site info (required)åå
name: 'hm_dev',
domain: 'hmdev.vercel.app',
author: 'hanmil lee',
// open graph metadata (optional)
description: "Hanmil's Notion blog",
// socialImageTitle: 'HM_dev',
// socialImageSubtitle: 'Hello World! 👋',
// social usernames (optional)
// twitter: 'transitive_bs',
github: 'hanmilLee',
linkedin: 'hanmil-lee-828a57187',
instagram: '2hanmil',
// default notion icon and cover images for site-wide consistency (optional)
// page-specific values will override these site-wide defaults
defaultPageIcon:'https://hmdev.vercel.app/page-icon.jpg',
defaultPageCover: null,
defaultPageCoverPosition: 0.5,
// Utteranc.es comments via GitHub issue comments (optional)
utterancesGitHubRepo: 'hanmilLee/nextjs-notion-starter-kit',
// Cusdis comment widget (optional)
// cusdis: {
// appId: 'd39a1dc4-5580-4ad8-8d75-c6a486475b5a' // your website id
// },
// 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,
// whether to use the default notion navigation style or a custom one with links to
// important pages
// navigationStyle: 'default',
navigationStyle: 'custom',
navigationLinks: [
{
title: 'About me',
pageId: 'a32a59aec23c41e08452757e94d96418'
},
// {
// title: 'About me',
// url: 'https://www.linkedin.com/in/hanmil-lee-828a57187/'
// },
// {
// title: 'Contact',
// pageId: '6a29ebcb935a4f0689fe661ab5f3b8d1'
// }
]
})