Change theme:   

case

If you need more than one condition you can use the case Statement

{% case condition %}
{% when 1 %}
hit 1
{% when 2 %}
hit 2
{% else %}
elseblock
{% endcase %}

Example

{% case page.language_code %}
{% when 'en' %}
  <p>This page is written in english</p>
{% when 'et' %}
  <p>See lehekylg on eesti keeles</p>
{% else %}
  <p>
    Don't know what the language is, really. It might be anything.
    Except english and estonian.
  </p>
{% endcase %}