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/documentation.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/documentation.html') diff --git a/templates/documentation.html b/templates/documentation.html index 154df5f..d22d9e6 100644 --- a/templates/documentation.html +++ b/templates/documentation.html @@ -39,7 +39,9 @@ {% include "partials/doc/page_toc.html" %}
- {% 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 %}
-- cgit v1.2.3