summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html
index 6d548d0..01868cb 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -15,7 +15,7 @@
</div>
<div class="chapters">
{% for p in progress.chapters %}
- <div class="chapter {% if p.done %}done{% endif %}" data-progress="{{ p.level }}" style="left: {{ p.percent }}%;"></div>
+ <a href="{{ basePath }}/{{ p.path }}" title="{{ p.title }}" class="chapter {% if p.done %}done{% endif %} {% if p.level.length == 1 %}new-chapter{% endif %}" data-progress="{{ p.level }}" style="left: {{ p.percent }}%;"></a>
{% endfor %}
</div>
</div>