diff options
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html index 237bf41..3b0ee85 100644 --- a/templates/base.html +++ b/templates/base.html @@ -79,10 +79,15 @@ <a href="{{ get_url(path=i.url, trailing_slash=i.slash) }}">{{ i.name }}</a> {%- endfor %} </p> - - {%- if config.extra.footer_credit | default(value=true) %} - <p>Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/jieiku/abridge/">Abridge</a></p> - {%- endif %} + <p>{% for i in config.extra.menu_footer %}<a href="{{ get_url(path=i.url, trailing_slash=i.slash) }}">{{ i.name }}</a> {% endfor %}</p> + {# Optional footer credit #} + {% if config.extra.footer_credit | default(value=true) %} + {% if config.extra.footer_credit_override %} + {{ config.extra.footer_credit_override | safe }} + {% else %} + <p>Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/jieiku/abridge/">Abridge</a></p> + {% endif %} + {% endif %} </center> </footer> {%- endblock footer %} |
