TinyLifeWeb/web/_includes/blognav.html

8 lines
385 B
HTML

<a class="nav-item nav-link" href="../../#{{ page.tags[0] | slugify }}">🏠 Home</a>
{% if page.previous %}
<a class="nav-item nav-link" href="{{ page.previous.url }}">⏮️ Previous Post</a>
{% endif %}
{% if page.next %}
<a class="nav-item nav-link" href="{{ page.next.url }}">⏭️ Next Post</a>
{% endif %}
{% include tocnavitem.html headers="h1, h2, h3, h4, h5, h6" %}