summaryrefslogtreecommitdiffstats
path: root/theme/templates
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-10-02 14:40:14 +0200
committerSamy Pessé <samypesse@gmail.com>2015-10-06 09:45:22 +0200
commit7363580095dfe71b853658437eab8e86016adbd3 (patch)
tree5de31c621444798a3aa87ad69c0d55d19d6396b1 /theme/templates
parent23a46b0597635e098dc3a375765ddb25ac9d0c05 (diff)
downloadgitbook-7363580095dfe71b853658437eab8e86016adbd3.zip
gitbook-7363580095dfe71b853658437eab8e86016adbd3.tar.gz
gitbook-7363580095dfe71b853658437eab8e86016adbd3.tar.bz2
Fix glossary page using a "section" instead of a "div"
Diffstat (limited to 'theme/templates')
-rw-r--r--theme/templates/ebook/glossary.html6
-rw-r--r--theme/templates/ebook/summary.html8
2 files changed, 7 insertions, 7 deletions
diff --git a/theme/templates/ebook/glossary.html b/theme/templates/ebook/glossary.html
index 1266f27..6d5a8a2 100644
--- a/theme/templates/ebook/glossary.html
+++ b/theme/templates/ebook/glossary.html
@@ -3,11 +3,11 @@
{% block title %}{{ __("GLOSSARY") }} | {{ title }}{% endblock %}
{% block content %}
-<div class="page page-toc">
+<div class="page page-glossary">
<h1 class="book-chapter book-chapter-1">{{ __("GLOSSARY") }}</h1>
<h1>{{ __("GLOSSARY") }}</h1>
{% for item in glossary %}
- <section class="normal glossary" id="{{ item.id }}">
+ <div class="section normal glossary" id="{{ item.id }}">
<h2><a href="#{{ item.id }}">{{ item.name }}</a></h2>
<p>{{ item.description|safe }}</p>
<ul class="glossary-index">
@@ -15,7 +15,7 @@
<li><a href="{{ basePath }}/{{ file.path|contentLink }}"><span class="level">{{ file.level }}.</span> {{ file.title }}</a></li>
{% endfor %}
</ul>
- </section>
+ </div>
{% endfor %}
</div>
{% endblock %}
diff --git a/theme/templates/ebook/summary.html b/theme/templates/ebook/summary.html
index fa79a98..f5f2e66 100644
--- a/theme/templates/ebook/summary.html
+++ b/theme/templates/ebook/summary.html
@@ -27,11 +27,11 @@
<div class="page page-toc">
<h1>{{ __("SUMMARY") }}</h1>
<ol>
- {{ articles(summary.chapters) }}
+ {{ articles(summary.chapters) }}
- {% if glossary.length > 0 %}
- <li><a href="{{ basePath }}/GLOSSARY.html">{{ __("GLOSSARY") }}</a></li>
- {% endif %}
+ {% if glossary.length > 0 %}
+ <li><a href="{{ basePath }}/GLOSSARY.html">{{ __("GLOSSARY") }}</a></li>
+ {% endif %}
</ol>
</div>
{% endblock %}