mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-01-09 20:21:06 +01:00
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:
parent
f37c65c951
commit
3abbf9f7d2
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue