From c19ab952e3a2e4298dbb53a7bc77169509b2c526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Tue, 6 Oct 2015 13:20:20 +0200 Subject: [PATCH] Only add page count on pdf/epub --- theme/templates/ebook/summary.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/theme/templates/ebook/summary.html b/theme/templates/ebook/summary.html index 5515ec221..237ae6eda 100644 --- a/theme/templates/ebook/summary.html +++ b/theme/templates/ebook/summary.html @@ -15,7 +15,9 @@ {% else %} {{ item.title }} {% endif %} + {% if options.generator != "mobi" %} {{ item.level }} + {% endif %} {% if item.articles.length > 0 %}