<div class="Footer">
{% if user.is_authenticated %}
<p>{% blocktrans with user.username as username %}You are currently logged in as {{ username }}{% endblocktrans %}
- -- <a href="../logout/">{% trans "Logout" %}</a></p>
+ -- <a href="{% url logout %}">{% trans "Logout" %}</a></p>
{% endif %}
</div>