diff options
Diffstat (limited to 'templates/partials/doc/page_toc.html')
-rw-r--r-- | templates/partials/doc/page_toc.html | 6 |
1 files changed, 4 insertions, 2 deletions
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 @@ </ol> {% endif %} <div class="bg-gray-100 rounded-bl-lg"> - {% 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> -</aside>
\ No newline at end of file +</aside> |