{% comment %} Fixed red badge that hangs off the top center of the page. Two trigger conditions (see ``security_mode_banner`` in core_tags.py): * mode="unsafe" — server is in a non-subdomain SERVER_SECURITY_MODE. Archived content shares an origin with the admin UI. * mode="unconfigured" — BASE_URL is not set. Always shown until the operator pins it explicitly, even when CSRF auto-derive or request-host fallback are keeping the server functional. {% endcomment %} {% if mode == "unsafe" %}
{% elif mode == "unconfigured" %} {% endif %}