Allow to override footers
This commit is contained in:
parent
4a6875ca3d
commit
4ae7889570
1 changed files with 11 additions and 3 deletions
|
@ -65,6 +65,7 @@
|
||||||
{% endblock -%}
|
{% endblock -%}
|
||||||
</article>
|
</article>
|
||||||
<footer>
|
<footer>
|
||||||
|
{% block footer_left -%}
|
||||||
<div class="social">
|
<div class="social">
|
||||||
<ul>
|
<ul>
|
||||||
{# Github #}
|
{# Github #}
|
||||||
|
@ -116,16 +117,23 @@
|
||||||
title="{{config.title}}"><i class="fa fa-rss"></i></a>
|
title="{{config.title}}"><i class="fa fa-rss"></i></a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
{% endblock footer_left -%}
|
||||||
</div>
|
</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
|
{# If you remove the powered by information, it would be appreciated if
|
||||||
you could add information & links somewhere else on your site to credit
|
you could add information & links somewhere else on your site to credit
|
||||||
those that have created your tools. #}
|
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 %}
|
{% 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>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
{% block body_end -%}
|
{% block body_end -%}
|
||||||
{% endblock body_end -%}
|
{% endblock body_end -%}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue