I'm trying to achieve something quite simple.
My code is the following:
{% if template != 'index' or template != 'page.jump' %}
I then want to do something if the template isn't equal to those two pages.
However, it doesn't seem to be interpreting anything after or
Either of these work individually, and I've had to resort to nesting if statements which is nasty.
Is there any reason why template
won't work with the or
operator in a liquid template?