summaryrefslogtreecommitdiffstats
path: root/theme/templates
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates')
-rw-r--r--theme/templates/ebook/glossary.html7
-rw-r--r--theme/templates/website/glossary.html1
2 files changed, 6 insertions, 2 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>
diff --git a/theme/templates/website/glossary.html b/theme/templates/website/glossary.html
index e319367..aab4f40 100644
--- a/theme/templates/website/glossary.html
+++ b/theme/templates/website/glossary.html
@@ -7,7 +7,6 @@
<section class="normal glossary" id="{{ item.id }}">
<h2><a href="#{{ item.id }}">{{ item.name }}</a></h2>
<p>{{ item.description }}</p>
- <h4>{% i18n "GLOSSARY_INDEX" %}Index{% endi18n %}</h4>
<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>