diff options
| author | gamerdonkey | 2022-12-11 21:15:05 -0600 |
|---|---|---|
| committer | gamerdonkey | 2022-12-11 21:15:05 -0600 |
| commit | 6f968c1f82da949928ecf713be8b8963079e0afc (patch) | |
| tree | cec21354c517369e19bdf43578363278939e83a2 /themes/gamerdonkey-theme/templates/index.html | |
| parent | ab3de5023eaee426fd16bfae938347664e17daa3 (diff) | |
| download | gamerdonkey.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/index.html')
| -rw-r--r-- | themes/gamerdonkey-theme/templates/index.html | 9 |
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 %} + |
