-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.config.ts
73 lines (62 loc) · 2.58 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
import { siteConfig } from './lib/site-config'
export default siteConfig({
// the site's root Notion page (required)
rootNotionPageId: '9f7259c2c03f44e9b03b02a9847cf0bf',
// 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: 'fde5ac74eea345278f004482710e1af3',
// basic site info (required)
name: 'Francisco Moretti',
domain: 'www.franciscomoretti.com',
author: 'Francisco Moretti',
// open graph metadata (optional)
description: 'Hi there! My name is Francisco Moretti. I talk about web development, good programming practices, and how to learn better.',
// social usernames (optional)
twitter: 'franmoretti_',
github: 'FranciscoMoretti',
linkedin: 'franciscomoretti',
// 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: 'https://images.unsplash.com/photo-1586776977607-310e9c725c37?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1080&q=80',
defaultPageCoverPosition: 0.75,
// 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,
pageUrlAdditions: {
// '/the-social-audio-revolution': 'c4deaf33cc924ad7a5b9f69c6ae04a01'
},
// whether to use the default notion navigation style or a custom one with links to
// important pages
// navigationStyle: 'default'
navigationStyle: 'custom',
navigationLinks: [
{
title: 'About',
pageId: 'd9de14b7dc154cd8aa5dcb9262e07bcd'
},
{
title: 'Blog',
pageId: '304a0518f6034977a59e10a5122aa261'
},
{
title: 'Code Tips',
pageId: '503052fcafa74652b442229350d410de'
}
]
})