diff options
Diffstat (limited to 'theme/templates/ebook/glossary.html')
-rw-r--r-- | theme/templates/ebook/glossary.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/theme/templates/ebook/glossary.html b/theme/templates/ebook/glossary.html index 0bd7ab6..49e3c13 100644 --- a/theme/templates/ebook/glossary.html +++ b/theme/templates/ebook/glossary.html @@ -5,10 +5,15 @@ {% block content %} <div class="page page-toc"> <h1>Glossary</h1> - {% for item in glossaryIndex %} + {% for item in glossary %} <section class="normal glossary" id="{{ item.id }}"> <h2><a href="#{{ item.id }}">{{ item.name }}</a></h2> <p>{{ item.description }}</p> + <ul class="glossary-index"> + {% for file in item.files %} + <li><a href="{{ basePath }}/{{ file.path|contentLink }}"><span class="level">{{ file.level }}.</span> {{ file.title }}</a></li> + {% endfor %} + </ul> </section> {% endfor %} </div> |