diff --git a/readme.md b/readme.md index ba15410..7d627bd 100644 --- a/readme.md +++ b/readme.md @@ -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