unless block

  • Unless block is the opposite of If tags in that content is shown if condition is not met.

Example:

{% unless contact_name == "Yolanda" %}
    This block of text is shown if the contact name is not Yolanda.
{% endunless %}