jinja2 check for none code example
Example: jinja check if variable is none
{% if p is none %}
<!--None-->
{% else %}
<!--Not None-->
{%endif %}
{% if p is none %}
<!--None-->
{% else %}
<!--Not None-->
{%endif %}