From 228b474cdbf25303dac8e3a375efa4d5c8ab19ac Mon Sep 17 00:00:00 2001 From: Leonardo Giordani Date: Tue, 28 Oct 2014 11:49:17 +0100 Subject: Update pagination.html This allows the theme to follow pagination specification through PAGINATION_PATTERNS. See Issue #265 --- pelican-bootstrap3/templates/includes/pagination.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pelican-bootstrap3') diff --git a/pelican-bootstrap3/templates/includes/pagination.html b/pelican-bootstrap3/templates/includes/pagination.html index 9ae4285..2627bb1 100644 --- a/pelican-bootstrap3/templates/includes/pagination.html +++ b/pelican-bootstrap3/templates/includes/pagination.html @@ -23,9 +23,10 @@ {% endif %} {% for num in range( 1, 1 + articles_paginator.num_pages ) %} + {% set page = articles_paginator.page(num) %}
  • {{ num }}
  • - {% endfor %} + href="{{ SITEURL }}/{{ page.url }}">{{ num }} + {% endfor %} {% if articles_page.has_next() %} @@ -34,4 +35,4 @@ {% endif %} {% endif %} -{% endif %} \ No newline at end of file +{% endif %} -- cgit