Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

jinja if or

{% if ( (foo == 'foo' or bar == 'bar') and 
        (fooo == 'fooo' or baar == 'baar') ) %}
    <li>some text</li>
{% endif %}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jinja
ADD COMMENT
Topic
Name
2+9 =