{% extends "wagtailadmin/base.html" %} {% load wagtailimages_tags wagtailsettings_tags static %} {% block furniture %} {% include "sorsore/includes/crx_banner.html" %} {{ block.super }} {% endblock %} {# NOTE: this must be on a single line, otherwise Django templates will create whitespace, and wagtail will think the whitespace is the custom logo! #} {% block branding_logo %}{% if settings.sorsore.LayoutSettings.logo %}
{% image settings.sorsore.LayoutSettings.logo original format-webp preserve-svg as logo_image %}Dashboard
{% else %}
Dashboard
{% endif %}{% endblock %} {% comment %} sorsore {% endcomment %}