From 5c4e85fe93ec3a713cf173db34e422072254d1c7 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Mon, 21 Jan 2013 12:10:58 +0100 Subject: Configuration update. Custom theme --- theme/templates/pagination.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 theme/templates/pagination.html (limited to 'theme/templates/pagination.html') diff --git a/theme/templates/pagination.html b/theme/templates/pagination.html new file mode 100644 index 0000000..83c587a --- /dev/null +++ b/theme/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-70-g09d2