I'm trying to do a case insensitive match inside of an {% if %}
statement
The following two approaches do not work:
{% set role = 'APP' %}
{% if 'app' == role %} 1 {% endif %}
{% if 'app' in role %} 2 {% endif %}
Nunucks only has a little documentation on their comparison operators, but don't refer to specific types.
Nunjucks is a port of Jinja2 and there is a similar question on how to lowercase a string in Jinja2