mirror of
https://github.com/hacks-guide/Guide_Switch-OLD.git
synced 2024-11-23 09:39:45 +00:00
15 lines
894 B
HTML
15 lines
894 B
HTML
{% if page.previous or page.next %}
|
|
<nav class="pagination">
|
|
{% if page.previous %}
|
|
<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>
|
|
{% else %}
|
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
|
{% endif %}
|
|
{% if page.next %}
|
|
<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>
|
|
{% else %}
|
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
|
{% endif %}
|
|
</nav>
|
|
{% endif %}
|