Allow to override footers

This commit is contained in:
Baptiste Jonglez 2023-12-09 16:21:50 +01:00
parent 4a6875ca3d
commit 4ae7889570

View file

@ -65,6 +65,7 @@
{% endblock -%}
</article>
<footer>
{% block footer_left -%}
<div class="social">
<ul>
{# Github #}
@ -116,13 +117,20 @@
title="{{config.title}}"><i class="fa fa-rss"></i></a>
</li>
</ul>
{% endblock footer_left -%}
</div>
<p> © {{ config.title }} {{ now() | date(format="%Y") }}
<p>
{% block footer_center -%}
{% endblock footer_center -%}
</p>
<p>
{% block footer_right -%}
© {{ config.title }} {{ now() | date(format="%Y") }}
{# If you remove the powered by information, it would be appreciated if
you could add information & links somewhere else on your site to credit
those that have created your tools. #}
{% if config.extra.disable_powered_by and config.extra.disable_powered_by == true %}{% else %}<br>Powered by <a target="_blank" href="https://getzola.org/">Zola</a>. Theme: <a target="_blank" href="https://github.com/jimmyff/zola-inky">Inky</a>.{% endif %}
{% endblock footer_right -%}
</p>
</footer>
{% block body_end -%}