From 9b00a48b5bfad6a5a9b3dea50205a242f3bd8aa2 Mon Sep 17 00:00:00 2001 From: Anxhelo Lushka Date: Sun, 17 Jun 2018 18:55:00 +0200 Subject: [PATCH] Test for pagination --- blog/index.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/blog/index.html b/blog/index.html index 2dc185b..f0f65c5 100644 --- a/blog/index.html +++ b/blog/index.html @@ -48,3 +48,17 @@ section_id: blog
{% endfor %} + +
+ {% if paginator.previous_page %} + + {% else %} + Previous + {% endif %} + Page: {{ paginator.page }} of {{ paginator.total_pages }} + {% if paginator.next_page %} + + {% else %} + Next + {% endif %} +