From 720176d791425eacb777979a5041f63ade48eae5 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 21 May 2014 18:26:18 +0200 Subject: add theme --- pelican-themes/gum/templates/pagination.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pelican-themes/gum/templates/pagination.html (limited to 'pelican-themes/gum/templates/pagination.html') diff --git a/pelican-themes/gum/templates/pagination.html b/pelican-themes/gum/templates/pagination.html new file mode 100644 index 0000000..7b4afb5 --- /dev/null +++ b/pelican-themes/gum/templates/pagination.html @@ -0,0 +1,15 @@ +{% if DEFAULT_PAGINATION %} +

+ {% if articles_page.has_previous() %} + {% if articles_page.previous_page_number() == 1 %} + + {% else %} + + {% endif %} + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + + {% endif %} +

+{% endif %} -- cgit v1.2.3