Added an option to add topics to the footer

This commit is contained in:
Jeff MacKinnon 2025-04-13 09:36:01 -03:00
parent 6229c359cc
commit 68edcb5f40

View file

@ -101,7 +101,7 @@
{% endif %}
{% if DISPLAY_CATEGORIES_ON_MENU %}
<ul></ul>
<ul>
<li><b>Topics:</b></li>
{% for cat, null in categories %}
<li><a href="{{ SITEURL }}/{{ cat.url }}" {% if cat==category %} aria-current="page" {% endif %}>{{ cat}}</a></li>
@ -121,6 +121,20 @@
<footer>
{% if (page and page.navminimal is defined )%}
{% else %}
{% if DISPLAY_CATEGORIES_ON_FOOTER %}
<nav>
<ul>
<li><b>Topics:</b></li>
{% for cat, null in categories %}
<li><a href="{{ SITEURL }}/{{ cat.url }}" {% if cat==category %} aria-current="page" {% endif %}>{{ cat}}</a></li>
{% endfor %}
</ul>
</nav>
{% endif %}
{% if LINKS %}
<nav>
<ul>