mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 15:56:15 +02:00
fix: switch previous/next article links position
Put previous article link on the left and next on the right
This commit is contained in:
parent
c9d6b62907
commit
508a44bffd
1 changed files with 4 additions and 4 deletions
|
@ -138,13 +138,13 @@
|
|||
{% endif %}
|
||||
<nav class="{{ full_width_class | default(value="") }} article-navigation">
|
||||
<div>
|
||||
{%- if page.lower -%}
|
||||
<a href="{{ page.lower.permalink | safe }}">‹ {{ page.lower.title | truncate(length=100) }}</a>
|
||||
{%- if page.higher -%}
|
||||
<a href="{{ page.higher.permalink | safe }}">‹ {{ 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) }} ›</a>
|
||||
{%- if page.lower -%}
|
||||
<a href="{{ page.lower.permalink | safe }}"> {{ page.lower.title | truncate(length=100) }} ›</a>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
</nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue