if clause in jinja2 code example Example: jinja if {% if 'priority' in data %} <p>Priority: {{ data['priority'] }}</p> {% endif %}