Merge pull request #6 from ipetkov/logo

Place the logo body inside of a `logo_content` block
This commit is contained in:
Paweł Romanowski 2021-12-08 09:13:13 +01:00 committed by GitHub
commit 9297dc3020
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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