{% if favicon_url %} {% comment %} A tenant favicon replaces the deployment's icons outright: declaring both leaves the choice to browser heuristics, which score by declared size and can pick the host's sized PNG over the tenant's. One candidate, one outcome. Never |safe — the value is admin-set config, but autoescaping is what keeps a quote in it from breaking out of the attribute. A comment block, not the hash form: Django's hash-comment syntax is single-line only (the lexer's tag regex has no DOTALL), so a multi-line one is never tokenized and renders as literal text on the page. {% endcomment %} {% else %} {% endif %} {% if custom_css_url %}{% endif %} {% if custom_css %}{% endif %} {% block extra_css %}{% endblock %}
{% block subtitle_block %}{% endblock %}