summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/glossary.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/theme/templates/glossary.html b/theme/templates/glossary.html
index 539ec59..315d354 100644
--- a/theme/templates/glossary.html
+++ b/theme/templates/glossary.html
@@ -3,10 +3,16 @@
{% block title %}Glossary | {{ title }}{% endblock %}
{% block page_inner %}
-{% for item in glossary %}
-<section class="normal glossary" id="{{ item.name }}">
+{% for item in glossaryIndex %}
+<section class="normal glossary" id="{{ item.id }}">
<h2>{{ item.name }}</h2>
<p>{{ item.description }}</p>
+ <h4>Index</h4>
+ <ul class="glossary-index">
+ {% for file in item.files %}
+ <li><a href="{{ basePath }}/{{ file.path|mdLink }}">{{ file.title }}</a></li>
+ {% endfor %}
+ </ul>
</section>
{% endfor %}
{% endblock %}