2023-05-06 02:22:29 +03:00
|
|
|
<!-- Navigation buttons at the bottom of the post. -->
|
2020-02-16 22:01:48 +03:00
|
|
|
|
|
|
|
<div class="post-navigation d-flex justify-content-between">
|
|
|
|
{% if page.previous.url %}
|
2023-05-06 02:22:29 +03:00
|
|
|
<a
|
|
|
|
href="{{ site.baseurl }}{{ page.previous.url }}"
|
|
|
|
class="btn btn-outline-primary"
|
|
|
|
prompt="{{ site.data.locales[include.lang].post.button.previous }}"
|
|
|
|
>
|
|
|
|
<p>{{ page.previous.title }}</p>
|
|
|
|
</a>
|
2020-02-16 22:01:48 +03:00
|
|
|
{% else %}
|
2023-05-06 02:22:29 +03:00
|
|
|
<div
|
|
|
|
class="btn btn-outline-primary disabled"
|
|
|
|
prompt="{{ site.data.locales[include.lang].post.button.previous }}"
|
|
|
|
>
|
|
|
|
<p>-</p>
|
|
|
|
</div>
|
2020-02-16 22:01:48 +03:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.next.url %}
|
2023-05-06 02:22:29 +03:00
|
|
|
<a
|
|
|
|
href="{{ site.baseurl }}{{page.next.url}}"
|
|
|
|
class="btn btn-outline-primary"
|
|
|
|
prompt="{{ site.data.locales[include.lang].post.button.next }}"
|
|
|
|
>
|
|
|
|
<p>{{ page.next.title }}</p>
|
|
|
|
</a>
|
2020-02-16 22:01:48 +03:00
|
|
|
{% else %}
|
2023-05-06 02:22:29 +03:00
|
|
|
<div
|
|
|
|
class="btn btn-outline-primary disabled"
|
|
|
|
prompt="{{ site.data.locales[include.lang].post.button.next }}"
|
|
|
|
>
|
|
|
|
<p>-</p>
|
|
|
|
</div>
|
2020-02-16 22:01:48 +03:00
|
|
|
{% endif %}
|
2021-01-23 22:02:19 +03:00
|
|
|
</div>
|