Closed claudemircasa closed 4 months ago
You can achieve this by marking the post as hidden and/or creating additional post templates.
You can achieve this by marking the post as hidden and/or creating additional post templates.
I believe it is not the same thing. I would like to be able to create a "contact.hbs" file with custom code, for example, and have this template compiled as a static page in the root directory as "contact.html"
Instead, you can create a post template featuring your custom code and apply it to the hidden post. This approach will function as you've described.
In general, the post marked as hidden works as a "static" page.
In general, the post marked as hidden works as a "static" page.
How do I create this additional template for posts?
I recommend visit the dev docs https://getpublii.com/dev/how-to-create-custom-templates/
thank's @bobmitro
@bobmitro Can you help me with this?
It should work; the code is ok. Where do you edit the theme files? Provide the path to your theme. Also, try restarting the app.
Feature Description
Plublii is promising, but I'm creating a custom theme and it's not possible to add other static pages (contact, about us, etc). Is this scheduled for future releases?