summaryrefslogtreecommitdiff
path: root/alabaster-lite/inc/homepage_nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'alabaster-lite/inc/homepage_nav.html')
-rw-r--r--alabaster-lite/inc/homepage_nav.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/alabaster-lite/inc/homepage_nav.html b/alabaster-lite/inc/homepage_nav.html
index 1c04868..7519857 100644
--- a/alabaster-lite/inc/homepage_nav.html
+++ b/alabaster-lite/inc/homepage_nav.html
@@ -9,8 +9,9 @@
</li>
{% else %}
<li>
- {{ nav_item.title }}
- {{ nav_tree(nav_item.children) }}
+ {# HACK: children[0] is the category index, and [1:] are its pages #}
+ <a href="{{ nav_item.children[0].url }}">{{ nav_item.children[0].title }}</a>
+ {{ nav_tree(nav_item.children[1:]) }}
</li>
{% endif %}
{% endfor %}