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 -%}
|
{% 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>
|
||||||
|
|
Loading…
Reference in a new issue