|
@@ -1,6 +1,5 @@
|
|
{% extends "wagtailadmin/base.html" %}
|
|
{% extends "wagtailadmin/base.html" %}
|
|
{% load coderedcms_tags wagtailimages_tags wagtailsettings_tags %}
|
|
{% load coderedcms_tags wagtailimages_tags wagtailsettings_tags %}
|
|
-{% django_setting "CRX_DISABLE_LAYOUT" as disable_layout %}
|
|
|
|
|
|
|
|
{% block furniture %}
|
|
{% block furniture %}
|
|
{% include "coderedcms/includes/crx_banner.html" %}
|
|
{% include "coderedcms/includes/crx_banner.html" %}
|
|
@@ -9,4 +8,4 @@
|
|
|
|
|
|
{# NOTE: this must be on a single line, otherwise Django templates will create
|
|
{# NOTE: this must be on a single line, otherwise Django templates will create
|
|
whitespace, and wagtail will think the whitespace is the custom logo! #}
|
|
whitespace, and wagtail will think the whitespace is the custom logo! #}
|
|
-{% block branding_logo %}{% if not disable_layout and settings.coderedcms.LayoutSettings.logo %}<div class="crx-logo-container {{settings.coderedcms.LayoutSettings.navbar_color_scheme}}">{% image settings.coderedcms.LayoutSettings.logo original format-webp preserve-svg as logo_image %}<img src="{{ logo_image.url }}" class="crx-logo-custom" alt="Dashboard"></div>{% endif %}{% endblock %}
|
|
|
|
|
|
+{% block branding_logo %}{% django_setting "CRX_DISABLE_LAYOUT" as disable_layout %}{% if not disable_layout and settings.coderedcms.LayoutSettings.favicon %}{% image settings.coderedcms.LayoutSettings.favicon original format-webp preserve-svg as logo_image %}<img src="{{ logo_image.url }}" class="crx-logo-custom" alt="Dashboard">{% endif %}{% endblock %}
|