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