mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2026-11-28 10:28:27 +08:00
16 lines
977 B
HTML
16 lines
977 B
HTML
{% assign locale = include.locale | default: site.locale %}
|
|
{% if page.previous or page.next %}
|
|
<nav class="pagination" aria-label="Post pagination">
|
|
{% if page.previous %}
|
|
<a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html | strip}}">{{ site.data.ui-text[locale].pagination_previous | default: "Previous" }}</a>
|
|
{% else %}
|
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[locale].pagination_previous | default: "Previous" }}</a>
|
|
{% endif %}
|
|
{% if page.next %}
|
|
<a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html | strip}}">{{ site.data.ui-text[locale].pagination_next | default: "Next" }}</a>
|
|
{% else %}
|
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[locale].pagination_next | default: "Next" }}</a>
|
|
{% endif %}
|
|
</nav>
|
|
{% endif %}
|