diff options
Diffstat (limited to 'pelican-bootstrap3/templates/includes/pagination.html')
-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 |