diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-05-29 16:11:39 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-05-29 16:11:39 +0200 |
commit | 6f13402c0794a520b557c471055118026bf419fa (patch) | |
tree | 297ab4cafb507ad17921d81ad5bf6295dd89d810 /templates | |
parent | 46ad94428d316d4443bc97f5ed9dc11891789525 (diff) |
add Ebook
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$ |