mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-17 07:26:45 +00:00
💯
This commit is contained in:
@@ -70,6 +70,8 @@ The mapping of Notion ID to slugified page titles is done automatically as part
|
||||
|
||||
See [mapPageUrl](./lib/map-page-url.ts) and [getCanonicalPageId](https://github.com/NotionX/react-notion-x/blob/master/packages/notion-utils/src/get-canonical-page-id.ts) for more details.
|
||||
|
||||
You can override the default slug generation on a per-page basis by adding a `Slug` text property to your database. Any page which has a `Slug` property will use that as its slug.
|
||||
|
||||
NOTE: if you have multiple pages in your workspace with the same slugified name, the app will throw an error letting you know that there are duplicate URL pathnames.
|
||||
|
||||
## Preview Images
|
||||
|
||||
Reference in New Issue
Block a user