twig 3 if code example
Example: twig if
{% if not user.subscribed %}
<p>You are not subscribed to our mailing list.</p>
{% endif %}
{% if not user.subscribed %}
<p>You are not subscribed to our mailing list.</p>
{% endif %}