summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/book.epub (renamed from templates/ebook/book.epub)5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/ebook/book.epub b/templates/book.epub
index 336b608..ae658fa 100644
--- a/templates/ebook/book.epub
+++ b/templates/book.epub
@@ -56,6 +56,11 @@ $else$
$for(include-before)$
$include-before$
$endfor$
+$if(toc)$
+<section ebook:type="toc" class="toc">
+$table-of-contents$
+</section>
+$endif$
$body$
$for(include-after)$
$include-after$