aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSpencer Imbleau2022-05-09 07:26:55 -0400
committerJieiku2022-05-30 23:51:32 -0700
commit58e3b46c6dfe7974d17c1441e671520c4d999ac9 (patch)
tree11096a2fa21771f49027d8cc45b3037583de35ca /templates
parente9b264400fe4a08f75ac05b02f57902bfbfa9401 (diff)
downloadabridge-58e3b46c6dfe7974d17c1441e671520c4d999ac9.tar.gz
abridge-58e3b46c6dfe7974d17c1441e671520c4d999ac9.tar.bz2
abridge-58e3b46c6dfe7974d17c1441e671520c4d999ac9.zip
Enabled override of footer credit
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html13
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> &nbsp;
{%- 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> &nbsp; {% 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 %}