Place the logo body inside of a logo_content block

* This will allow for customizing the logo contents with a template,
  which can be slightly more powerful than a static configuration value
This commit is contained in:
Ivan Petkov 2021-12-07 17:39:39 -08:00
parent f37c65c951
commit 3abbf9f7d2
No known key found for this signature in database
GPG key ID: BB6F9EFC065832B6

View file

@ -35,11 +35,13 @@
{% endif -%}
<a href="{{ logo_link | safe }}" style="text-decoration: none;">
<div class="logo">
{% block logo_content %}
{%- if config.extra.logo_text %}
{{ config.extra.logo_text }}
{% else %}
Terminimal theme
{% endif -%}
{% endblock logo_content %}
</div>
</a>
</div>