2016-01-28 23:27:15 +01:00
|
|
|
<!-- Previous and next page -->
|
|
|
|
{% if include_next_prev %}
|
2016-02-16 13:10:33 +01:00
|
|
|
<nav class="pagination" aria-label="Footer">
|
2016-01-28 23:27:15 +01:00
|
|
|
|
|
|
|
<!-- Previous page -->
|
|
|
|
<div class="previous">
|
|
|
|
{% if previous_page %}
|
|
|
|
<a href="{{ previous_page.url }}" title="{{ previous_page.title }}">
|
2016-02-24 12:40:02 +01:00
|
|
|
<span class="direction">
|
|
|
|
{{ config.extra.get("i18n", {}).prev | default("Prev") }}
|
|
|
|
</span>
|
2016-01-28 23:27:15 +01:00
|
|
|
<div class="page">
|
|
|
|
<div class="button button-previous"
|
|
|
|
role="button" aria-label="Previous">
|
|
|
|
<i class="icon icon-back"></i>
|
|
|
|
</div>
|
|
|
|
<div class="stretch">
|
|
|
|
<div class="title">
|
|
|
|
{{ previous_page.title }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Next page -->
|
|
|
|
<div class="next">
|
|
|
|
{% if next_page %}
|
|
|
|
<a href="{{ next_page.url }}" title="{{ next_page.title }}">
|
2016-02-24 12:40:02 +01:00
|
|
|
<span class="direction">
|
|
|
|
{{ config.extra.get("i18n", {}).next | default("Next") }}
|
|
|
|
</span>
|
2016-01-28 23:27:15 +01:00
|
|
|
<div class="page">
|
|
|
|
<div class="stretch">
|
|
|
|
<div class="title">
|
|
|
|
{{ next_page.title }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="button button-next" role="button" aria-label="Next">
|
|
|
|
<i class="icon icon-forward"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
{% endif %}
|