From 185f6fdd3da30e6cfce6156992bd1fb15d79015d Mon Sep 17 00:00:00 2001 From: Bricabraque Date: Tue, 21 Feb 2017 00:12:00 +0100 Subject: Add bricabrac theme --- bricabrac/templates/pagination.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bricabrac/templates/pagination.html (limited to 'bricabrac/templates/pagination.html') diff --git a/bricabrac/templates/pagination.html b/bricabrac/templates/pagination.html new file mode 100644 index 0000000..839a6d0 --- /dev/null +++ b/bricabrac/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 %} \ No newline at end of file -- cgit