2013-12-03 21:11:38 +01:00
|
|
|
{% if paginator.total_pages > 1 %}
|
|
|
|
|
|
|
|
<nav class="row paginator">
|
2015-05-31 21:56:40 +02:00
|
|
|
|
2015-06-22 21:28:31 +02:00
|
|
|
<p class="paginator-previous">
|
2015-05-31 21:56:40 +02:00
|
|
|
{% if paginator.previous_page %}
|
|
|
|
<a
|
2013-12-03 21:11:38 +01:00
|
|
|
{% if page.category %}
|
|
|
|
{% if paginator.previous_page == 1 %}
|
2015-05-31 21:56:40 +02:00
|
|
|
href="/{{ page.category }}/"
|
2013-12-03 21:11:38 +01:00
|
|
|
{% else %}
|
2015-05-31 21:56:40 +02:00
|
|
|
href="/{{ page.category }}/page/{{ paginator.previous_page }}/"
|
2013-12-03 21:11:38 +01:00
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
{% if paginator.previous_page == 1 %}
|
2015-05-31 21:56:40 +02:00
|
|
|
href="/"
|
2013-12-03 21:11:38 +01:00
|
|
|
{% else %}
|
2015-05-31 21:56:40 +02:00
|
|
|
href="/page/{{ paginator.previous_page }}/"
|
2013-12-03 21:11:38 +01:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2015-06-08 21:22:09 +02:00
|
|
|
rel="prev">
|
|
|
|
<svg class="icon icon-entypo icon-entypo-chevron-left">
|
|
|
|
<use xlink:href="/assets/img/sprite.svg#entypo-chevron-left"></use>
|
|
|
|
</svg>
|
|
|
|
Previous
|
2015-05-31 21:56:40 +02:00
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
|
2015-06-22 21:28:31 +02:00
|
|
|
<p class="paginator-pages">
|
|
|
|
<span class="paginator-number">{{ paginator.page }}</span> of <span class="paginator-number">{{ paginator.total_pages }}</span>
|
2013-11-24 17:31:03 +01:00
|
|
|
</p>
|
2015-05-31 21:56:40 +02:00
|
|
|
|
2015-06-22 21:28:31 +02:00
|
|
|
<p class="paginator-next">
|
2015-05-31 21:56:40 +02:00
|
|
|
{% if paginator.next_page %}
|
|
|
|
<a
|
2013-12-03 21:11:38 +01:00
|
|
|
{% if page.category %}
|
2015-05-31 21:56:40 +02:00
|
|
|
href="/{{ page.category }}/page/{{ paginator.next_page }}/"
|
2013-12-03 21:11:38 +01:00
|
|
|
{% else %}
|
2015-05-31 21:56:40 +02:00
|
|
|
href="/page/{{ paginator.next_page }}/"
|
2013-12-03 21:11:38 +01:00
|
|
|
{% endif %}
|
2015-06-08 21:22:09 +02:00
|
|
|
rel="next">Next
|
|
|
|
<svg class="icon icon-entypo icon-entypo-chevron-right">
|
|
|
|
<use xlink:href="/assets/img/sprite.svg#entypo-chevron-right"></use>
|
|
|
|
</svg>
|
2015-05-31 21:56:40 +02:00
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
|
2013-12-03 21:11:38 +01:00
|
|
|
</nav>
|
|
|
|
|
2015-05-31 21:56:40 +02:00
|
|
|
{% endif %}
|