{{#checkIfAny}} helper
Block helper for creating conditions where all elements are connected using OR operator.
Syntax:
Example:
Block helper for creating conditions where all elements are connected using OR operator.
Syntax:
{{#checkIfAny ARG_1 ARG_2 ARG_3 ... ARG_N}}
Code displayed when above condition is true
{{else}}
Code displayed when above condition is false
{{/checkIfAny}}
Example:
{{#checkIfAny author tags}}
Block displayed if author or tags data are available
{{/checkIfAny}}
What are you waiting for?
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.