Skip to content
This repository was archived by the owner on Apr 17, 2021. It is now read-only.

Commit 1c5ad15

Browse files
committed
Merge pull request #14 from robbyt/patch-1
fix missing previous_title and next_title in template
2 parents 326f647 + bc46603 commit 1c5ad15

File tree

1 file changed

+3
-3
lines changed
  • bootstrap-pagination/templates/bootstrap-pagination

1 file changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<ul class="pager">
22
{% if page.has_previous %}
33
<li{% if not centered %} class="previous"{% endif %}>
4-
<a title="Previous Page" href="{{ previous_page_url|default:"#" }}">{{previous_label}}</a>
4+
<a title="{{ previous_title }}" href="{{ previous_page_url|default:"#" }}">{{ previous_label }}</a>
55
</li>
66
{% endif %}
77
{% if page.has_next %}
88
<li{% if not centered %} class="next"{% endif %}>
9-
<a title="Next Page" href="{{ next_page_url|default:"#" }}">{{next_label}}</a>
9+
<a title="{{ next_title }}" href="{{ next_page_url|default:"#" }}">{{ next_label }}</a>
1010
</li>
1111
{% endif %}
12-
</ul>
12+
</ul>

0 commit comments

Comments
 (0)