sergio.am/_includes/navigation.html

17 lines
504 B
HTML
Raw Normal View History

2021-11-02 19:10:47 +00:00
<nav class="post-nav">
{% if page.previous %}
<a
class="post-nav-item post-nav-prev"
href="{{ page.previous | relative_url }}"
>
2022-05-07 17:46:12 +00:00
<div class="nav-arrow">↶ Anterior</div>
2021-11-02 19:10:47 +00:00
<span class="post-title">{{ page.previous.title }}</span>
</a>
{% endif %} {% if page.next %}
<a class="post-nav-item post-nav-next" href="{{ page.next | relative_url }}">
2022-05-07 17:46:12 +00:00
<div class="nav-arrow">Siguiente ↷</div>
2021-11-02 19:10:47 +00:00
<span class="post-title">{{ page.next.title }}</span>
</a>
{% endif %}
</nav>