fix: switch previous/next article links position

Put previous article link on the left and next on the right
This commit is contained in:
ZzMzaw 2024-01-24 09:01:27 +01:00
parent c9d6b62907
commit 508a44bffd

View file

@ -138,13 +138,13 @@
{% endif %}
<nav class="{{ full_width_class | default(value="") }} article-navigation">
<div>
{%- if page.lower -%}
<a href="{{ page.lower.permalink | safe }}">&#8249; {{ page.lower.title | truncate(length=100) }}</a>
{%- if page.higher -%}
<a href="{{ page.higher.permalink | safe }}">&#8249; {{ page.higher.title | truncate(length=100) }}</a>
{%- endif -%}
</div>
<div>
{%- if page.higher -%}
<a href="{{ page.higher.permalink | safe }}"> {{ page.higher.title | truncate(length=100) }} &#8250;</a>
{%- if page.lower -%}
<a href="{{ page.lower.permalink | safe }}"> {{ page.lower.title | truncate(length=100) }} &#8250;</a>
{%- endif -%}
</div>
</nav>