Download

{{#checkIfAll}} helper

Block helper for creating conditions where all elements are connected using AND operator.

Syntax:

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

Example:

{{#checkIfAll author author.avatar author.name}}
<img src="{{author.avatar}}" alt="{{author.name}}" />
{{/checkIfAll}}

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