aboutsummaryrefslogtreecommitdiff
path: root/templates/documentation.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/documentation.html')
-rw-r--r--templates/documentation.html4
1 files changed, 3 insertions, 1 deletions
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" %}
</div>
<div class="2xl:hidden">
- {% 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 %}
</div>