transitive-bullshit / nextjs-notion-starter-kit

Deploy your own Notion-powered website in minutes with Next.js and Vercel.
https://transitivebullsh.it/nextjs-notion-starter-kit
MIT License
6.16k stars 5.23k forks source link

can't use nested path for `pageUrlOverrides` #271

Open amondnet opened 2 years ago

amondnet commented 2 years ago

Description

If I set pages/1 in pageUrlOverrides, that page is not found.

Notion Test Page ID

Test Page is https://www.notion.so/amond2/Notion-Test-a40abed3a9144217b23685661f6edc22

site.config.js : https://github.com/amondnet/nextjs-notion-starter-kit/blob/page-url-bug/site.config.ts

transitive-bullshit commented 2 years ago

Nested paths in general are currently not supported.

If there's enough interest, I think this would be a great additional feature to support, though it will not be an easy PR.

alisolanki commented 1 year ago

Was this issue solved?

amondnet commented 1 year ago

@alisolanki https://github.com/transitive-bullshit/nextjs-notion-starter-kit/pull/272