Sign in

Adding new pages

#3236
Bob

So if I want a different template for that page I have to create a post-TEMPLATE_SLUG.hbs

yeap, indeed.

Basically I can’t create a new page such as the frontpage and render it?

You can create a post-template with a similar structure as the index.hbs file, but just copying the content of the index.hbs won’t help, the post template has its own handlebars tags https://getpublii.com/dev/post-page-tags/

--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!