forked from Chaospott/site
pagination now might work
This commit is contained in:
parent
f92c61792c
commit
64f02f9bf1
@ -51,12 +51,12 @@ layout: default
|
||||
{% endfor %}
|
||||
|
||||
<div class="page-navigation">
|
||||
{% if previous_page %}
|
||||
<a href="{{ previous_page_path }}">Zurück</a>
|
||||
{% if paginator.previous_page %}
|
||||
<a href="{{ paginator.previous_page_path }}">Zurück</a>
|
||||
{% endif %}
|
||||
| Seite {{ page }} von {{ total pages }} |
|
||||
| Seite {{ paginator.page }} von {{ paginator.total pages }} |
|
||||
{% if next_page %}
|
||||
<a href="{{ next_page_path }}">Vor</a>
|
||||
<a href="{{ paginator.next_page_path }}">Vor</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user