summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-04 20:01:50 -0700
committerSamy Pessé <samypesse@gmail.com>2014-04-04 20:01:50 -0700
commit6c414ec40033bb2557d8f8598507737fd99a0f70 (patch)
tree69997e3b03ab067035941c2cde38eb1832a01027
parent881a0c6f6d8934b6ddccda8c4822bce1a3d54ff6 (diff)
downloadgitbook-6c414ec40033bb2557d8f8598507737fd99a0f70.zip
gitbook-6c414ec40033bb2557d8f8598507737fd99a0f70.tar.gz
gitbook-6c414ec40033bb2557d8f8598507737fd99a0f70.tar.bz2
Fix link for chapters in page format
-rw-r--r--theme/templates/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/templates/page.html b/theme/templates/page.html
index 8362d75..dd36f3c 100644
--- a/theme/templates/page.html
+++ b/theme/templates/page.html
@@ -44,7 +44,7 @@
{% for item in summary.chapters %}
{% if item.articles.length > 0 %}
<section>
- <article class="new-chapter">
+ <article id="{{ item.path }}" class="new-chapter">
<h1>{{ item.title }}</h1>
</article>