You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the page name as the url sement instead of the id. i.e. if a page is name "page1" you can navigate to it with the route "/pages/page1".
To stay backwards compatible and not break existing urls of the embeds in notion, we'll keep the optional id property in the page.yml, and automatically add a redirect from /pages/<pageId> to /pages/page1
We should probably fail the build step if two pages have the same id
Examples 🌈
No response
Motivation 🔦
No response
The text was updated successfully, but these errors were encountered:
I believe the preview, production and the editor should follow the same routing semantics. The preview/production is easy to switch to routes that are based on page names. The editor is less straightforward to do that with. As this is not a high priority issue, don't expect this to get reviewed and merged very soon should you still want to take this on.
Duplicates
Latest version
Summary 💡
Use the page name as the url sement instead of the id. i.e. if a page is name "page1" you can navigate to it with the route "/pages/page1".
To stay backwards compatible and not break existing urls of the embeds in notion, we'll keep the optional
id
property in the page.yml, and automatically add a redirect from/pages/<pageId>
to/pages/page1
We should probably fail the build step if two pages have the same
id
Examples 🌈
No response
Motivation 🔦
No response
The text was updated successfully, but these errors were encountered: