Made footer links optional
This commit is contained in:
parent
dae632b293
commit
6f20aba48b
|
@ -43,6 +43,7 @@
|
|||
{% block footer %}
|
||||
<footer role="contentinfo">
|
||||
<hr />
|
||||
{% if config.extra.footer_links %}
|
||||
<nav style="margin-bottom:1rem;" role="navigation">
|
||||
{% for item in config.extra.footer_links %}
|
||||
<a href="{{ item.url | safe | replace(from="$BASE_URL", to=config.base_url) }}">{{ item.name }}</a>
|
||||
|
@ -51,6 +52,7 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endif %}
|
||||
<small>
|
||||
Built with <a href="https://www.getzola.org/">Zola</a>
|
||||
{%- if config.extra.netlify %} & hosted on <a href="https://netlify.com">Netlify</a>{% endif -%}
|
||||
|
|
Loading…
Reference in a new issue