Guide_Wii/_includes/post_pagination.html

15 lines
894 B
HTML
Raw Normal View History

2016-10-30 01:02:14 +02:00
{% if page.previous or page.next %}
<nav class="pagination">
{% if page.previous %}
2016-11-23 02:29:35 +01:00
<a href="{{ page.previous.url | absolute_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
2016-10-30 01:02:14 +02:00
{% else %}
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
{% endif %}
{% if page.next %}
2016-11-23 02:29:35 +01:00
<a href="{{ page.next.url | absolute_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
2016-10-30 01:02:14 +02:00
{% else %}
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
{% endif %}
</nav>
2016-11-23 02:29:35 +01:00
{% endif %}