Download

{{#checkIfNone}} helper

Block helper which is negation of the #checkIfAll helper.

Syntax:

{{#checkIfNone ARG_1 ARG_2 ARG_3 ... ARG_N}}
Code displayed when above condition is true
{{else}}
Code displayed when above condition is false
{{/checkIfNone}}

Example:

{{#checkIfNone author tags}}
Block displayed when author data and tags data are empty
{{/checkIfNone}}

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