From 9839a49f36ee0b637b08b76e8ed5560409c9db3b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Nov 2014 00:29:11 -0500 Subject: Simplify theme. --- themes/lv2/templates/pagination.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 themes/lv2/templates/pagination.html (limited to 'themes/lv2/templates/pagination.html') diff --git a/themes/lv2/templates/pagination.html b/themes/lv2/templates/pagination.html new file mode 100644 index 0000000..a2759d9 --- /dev/null +++ b/themes/lv2/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.1