{# @description Log-in button; renders only when anonymous and account_login or login reverses. #}
{# @prop variant:text | description:"c-button variant. Unset renders the plain button the navbar wants; the sidebar footer asks for primary, the one thing a signed-out visitor should reach for." #}
{# @prop full:boolean | description:"Stretch to the width of whatever contains it." #}
{% load i18n %}
{% if not request.user.is_authenticated %}
{% comment %} Prefer allauth's login URL when present, else Django's. {% endcomment %}
{% url "account_login" as login_url %}
{% if not login_url %}
{% url "login" as login_url %}
{% endif %}
{% if login_url %}
{% endif %}
{% endif %}