diff options
author | Justin Mayer <entroP@gmail.com> | 2016-12-13 08:35:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 08:35:02 -0800 |
commit | e351c04203887ea069621ba751d6194d854b9b0f (patch) | |
tree | d551d18fbbf226907fdd81ac479a453b8e518aa8 /pelican-bootstrap3/templates | |
parent | 54f7f6703f69b6ba725e520ee0b87806d2baade6 (diff) | |
parent | 457b8b2b8f720b883a79d852ccf142d386e85944 (diff) | |
download | pelican-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.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 |