Download

{{#checkIfAny}} helper

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?

Start building your site today.

  1. 1 Download Publii
  2. 2 Write your content
  3. 3 Publish your site
Create website