aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes
diff options
context:
space:
mode:
authorDenis Kadyshev <metajiji@gmail.com>2016-10-25 11:16:33 +0700
committerDenis Kadyshev <metajiji@gmail.com>2016-10-25 11:16:33 +0700
commit457b8b2b8f720b883a79d852ccf142d386e85944 (patch)
treea0f102452638f5df8d8fc227da6314fce0bcf5e2 /pelican-bootstrap3/templates/includes
parent336b10cce6b317ea829c55592239fc326bb4733c (diff)
downloadpelican-themes-457b8b2b8f720b883a79d852ccf142d386e85944.tar.gz
pelican-bootstrap3: fix pagination in the relevant documentation
Diffstat (limited to 'pelican-bootstrap3/templates/includes')
-rw-r--r--pelican-bootstrap3/templates/includes/pagination.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pelican-bootstrap3/templates/includes/pagination.html b/pelican-bootstrap3/templates/includes/pagination.html
index 9ae4285..e74cdba 100644
--- a/pelican-bootstrap3/templates/includes/pagination.html
+++ b/pelican-bootstrap3/templates/includes/pagination.html
@@ -24,7 +24,7 @@
{% endif %}
{% for num in range( 1, 1 + articles_paginator.num_pages ) %}
<li class="{{ 'active' if num == articles_page.number else '' }}"><a
- href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">{{ num }}</a></li>
+ href="{{ SITEURL }}/{{ articles_paginator.page(num).url if num > 1 else articles_paginator.page(1).url }}">{{ num }}</a></li>
{% endfor %}
{% if articles_page.has_next() %}
<li class="next"><a