diff options
Diffstat (limited to 'theme/templates/ebook/summary.html')
-rw-r--r-- | theme/templates/ebook/summary.html | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/theme/templates/ebook/summary.html b/theme/templates/ebook/summary.html deleted file mode 100644 index 237ae6e..0000000 --- a/theme/templates/ebook/summary.html +++ /dev/null @@ -1,47 +0,0 @@ -{% extends "./page.html" %} - -{% block title %}{{ __("SUMMARY") }} | {{ title }}{% endblock %} - -{% macro articles(_articles) %} - {% for item in _articles %} - <li> - <span class="inner"> - {% if item.path and item.exists %} - {% if not item.external %} - <a href="{{ basePath }}/{{ item.path|contentLink }}">{{ item.title }}</a> - {% else %} - <a target="_blank" href="{{ item.path }}">{{ item.title }}</a> - {% endif %} - {% else %} - <span>{{ item.title }}</span> - {% endif %} - {% if options.generator != "mobi" %} - <span class="page">{{ item.level }}</span> - {% endif %} - </span> - {% if item.articles.length > 0 %} - <ol> - {{ articles(item.articles) }} - </ol> - {% endif %} - </li> - {% endfor %} -{% endmacro %} - -{% block page %} -<div class="section toc"> - <h1>{{ __("SUMMARY") }}</h1> - <ol> - {{ articles(summary.chapters) }} - - {% if glossary.length > 0 %} - <li> - <span class="inner"> - <a href="{{ basePath }}/GLOSSARY.html">{{ __("GLOSSARY") }}</a> - </span> - </li> - {% endif %} - </ol> -</div> -{% endblock %} - |