From fba1b065036115cea8d067b74ee04c292db022b8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 31 Jan 2022 16:28:01 +0100 Subject: Improve sections as pages --- templates/partials/doc/page_toc.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'templates/partials/doc/page_toc.html') diff --git a/templates/partials/doc/page_toc.html b/templates/partials/doc/page_toc.html index 238d8c3..b874b4b 100644 --- a/templates/partials/doc/page_toc.html +++ b/templates/partials/doc/page_toc.html @@ -26,8 +26,10 @@ {% endif %}
- {% if page.earlier or page.later or page.lighter or page.heavier %} + {% if page.earlier or page.later or page.lighter or page.heavier or page.pages %} + {% include "partials/doc/pagination.html" %} + {% elif page.ancestors and page.ancestors | length == 3 %} {% include "partials/doc/pagination.html" %} {% endif %}
- \ No newline at end of file + -- cgit v1.2.3