From bf9f0c429788bc0b6a07867d3ad880bcdf75885d Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 25 Aug 2015 15:50:01 +0200 Subject: Move pagination to separate partial and style it a bit. --- blog/_includes/pagination.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 blog/_includes/pagination.html (limited to 'blog/_includes') diff --git a/blog/_includes/pagination.html b/blog/_includes/pagination.html new file mode 100644 index 0000000..061b03f --- /dev/null +++ b/blog/_includes/pagination.html @@ -0,0 +1,10 @@ + +
+ {% t home.page_no %} {{ paginator.page }} / {{ paginator.total_pages }} + {% if paginator.previous_page %} + + {% endif %} + {% if paginator.next_page %} + + {% endif %} +
-- cgit v1.2.3