#Dynamic Page via CMS

4 messages · Page 1 of 1 (latest)

hot marsh
#

In the website template, the /posts and /posts/slug are handled with nextjs file-based routing.

I want to give that power to my customer.

It's easy to create a /posts through the CMS. I can just select a collection and it will show all docs.

Is it also possible to create a dynamic page for the single posts through the CMS?

tiny glenBOT
hot marsh
#

Additional issue I didn't described:

Currently I set up /posts as localized slug through pages via CMS.

It works well to show a list of posts in different languages.

Then I do the file-based routing for the single posts. However, I want the prefix /posts to be localized and managable via CMS. Currently, all single posts have /posts prefix

What I have:

/en/posts/some-post
/fr/posts/quelques postes

What I want:

/en/posts/some-post
/fr/postes/quelques postes

torpid vector