summaryrefslogtreecommitdiff
path: root/themes/gamerdonkey-theme/templates
diff options
context:
space:
mode:
authorgamerdonkey2022-12-11 21:15:05 -0600
committergamerdonkey2022-12-11 21:15:05 -0600
commit6f968c1f82da949928ecf713be8b8963079e0afc (patch)
treecec21354c517369e19bdf43578363278939e83a2 /themes/gamerdonkey-theme/templates
parentab3de5023eaee426fd16bfae938347664e17daa3 (diff)
downloadgamerdonkey.com-blog-6f968c1f82da949928ecf713be8b8963079e0afc.tar.gz
gamerdonkey.com-blog-6f968c1f82da949928ecf713be8b8963079e0afc.tar.bz2
gamerdonkey.com-blog-6f968c1f82da949928ecf713be8b8963079e0afc.zip
Adding category navigation to index page.
Diffstat (limited to 'themes/gamerdonkey-theme/templates')
-rw-r--r--themes/gamerdonkey-theme/templates/index.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/gamerdonkey-theme/templates/index.html b/themes/gamerdonkey-theme/templates/index.html
index 21476a9..6fec8d9 100644
--- a/themes/gamerdonkey-theme/templates/index.html
+++ b/themes/gamerdonkey-theme/templates/index.html
@@ -1,4 +1,13 @@
{% extends "!simple/index.html" %}
{% block content_title %}
+<nav id="categories">
+ <ul>
+ <li>Categories:</li>
+ {% for cat, null in categories|sort %}
+ <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
+ {% endfor %}
+ </ul>
+</nav>
{% endblock %}
+