{% if not user.is_authenticated %} {% else %} {% endif %} {% if user.is_authenticated %} {% endif %} {% if not user.is_authenticated %} {% endif %}