Intuitive, expansive and flexible creation with no distractions.
Robust, user-friendly data protection for your visitors and you.
Modern, effective solutions for site growth and functionality.
Professionally designed and coded themes and plugins.
Free and premium, beautifully-designed templates.
Expand your site with your favorite tools and apps.
Get help building your site from our web development services.
Learn how Publii works, from installation to creation.
Documentation, guides, and tutorials for developers.
Explore and interact with others and learn new things.
Dedicated customer support for paid products.
Read up on the latest news about Publii and its products.
Forum › General Inquiry
Hi,
I’m looking for a way to check the post title:
`{{#each posts}}` ` {{#checkIf post.title ‘==’ “My Title”}}` ` … … …` ` {{/checkIf}}` `{{/each }}`
post.title doesn’t work. Is there any way to do it?
Thank you.
This is solution:
`{{#each posts}}` ` {{#checkIf title ‘==’ “My Title”}}` ` … … …` ` {{/checkIf}}` `{{/each}}`
it didn’t work because the post was hidden 🙁
`{{#each hiddenPosts}}` ` {{#checkIf title ‘==’ “My Title”}}` ` … … …` ` {{/checkIf}}` `{{/each}}`
Ciao