{% load i18n %} {% if user.id %}
  • {% trans "Log out" %}
  • {% else %}
  • {% trans "Log in" %}
  • {% endif %}