nextjs-notion-starter-kit icon indicating copy to clipboard operation
nextjs-notion-starter-kit copied to clipboard

Can this project add a new property that can diy the domain

Open chancenju opened this issue 3 years ago • 3 comments
trafficstars

The project can change the page id into the page name as the domain. It is wonderful. But when our page name is Chinese or other languages, it does not work. One solution is to add a new property which we can DIY the domain. I think a lot of people like me need this. Thank you.

chancenju avatar Apr 18 '22 12:04 chancenju

The default template has a table with the text property "Slug". If a page has a non-empty Slug property, it will override the default auto-generated URL pathname.

I think this is what you want 😄

transitive-bullshit avatar Apr 18 '22 14:04 transitive-bullshit

Thank you. It seems a new version after I forked before. I delete the last version and refork the project. And redeploy it. It works. However, when I update the site.config.ts, Vercel never redeloyed again. I changed the files again and again, but no more deployment.I don't know is there something wrong with the project or with my git resposition, If you know why and how , could you tell me ? Thank you for your instruction.

chancenju avatar Apr 18 '22 16:04 chancenju

Hmmm, I'm not sure. I would recommend removing your vercel project and recreating it.

Also make sure that the branch on vercel and github matches up.

transitive-bullshit avatar Apr 18 '22 18:04 transitive-bullshit