if-endif block

  • If-endif block uses a single conditional statement that is met to show content.

Example:

{% if contact_name == "John" %}
    This block of text will be shown with the contact name as John.
{% endif %}