aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2016-12-13 08:35:02 -0800
committerGitHub <noreply@github.com>2016-12-13 08:35:02 -0800
commite351c04203887ea069621ba751d6194d854b9b0f (patch)
treed551d18fbbf226907fdd81ac479a453b8e518aa8 /pelican-bootstrap3/templates
parent54f7f6703f69b6ba725e520ee0b87806d2baade6 (diff)
parent457b8b2b8f720b883a79d852ccf142d386e85944 (diff)
downloadpelican-themes-e351c04203887ea069621ba751d6194d854b9b0f.tar.gz
Merge pull request #448 from METAJIJI/master
pelican-bootstrap3: fix pagination in the relevant documentation
Diffstat (limited to 'pelican-bootstrap3/templates')
-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