Reputation: 37904
I am wondering how I can make newline if I have many if-clauses like this:
{% if request.path != "/a/" and request.path != "/b/" and request.path != "/c/" ...many more %}
{% endif %}
I want to be able to do something like this:
{% if request.path != "/a/"
and request.path != "/b/"
and request.path != "/c/"
...many more %}
{% endif %}
or something shorter.
Upvotes: 1
Views: 25