diff options
author | Denis Kadyshev <metajiji@gmail.com> | 2016-10-25 11:16:33 +0700 |
---|---|---|
committer | Denis Kadyshev <metajiji@gmail.com> | 2016-10-25 11:16:33 +0700 |
commit | 457b8b2b8f720b883a79d852ccf142d386e85944 (patch) | |
tree | a0f102452638f5df8d8fc227da6314fce0bcf5e2 | |
parent | 336b10cce6b317ea829c55592239fc326bb4733c (diff) | |
download | pelican-themes-457b8b2b8f720b883a79d852ccf142d386e85944.tar.gz |
pelican-bootstrap3: fix pagination in the relevant documentation
-rw-r--r-- | pelican-bootstrap3/templates/includes/pagination.html | 2 |
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 |