I try something like this:
{% if request.path == \'contact\' %} You are in Contact {% endif %} {% if request.path == \'shop\' %}
You are in Contact
Try:
{% if request.path == '/contact/' %} You are in Contact {% elif request.path == '/shop/' %} You are in Shop {% endif %}
You are in Shop