gil.ink/src/_includes/nav.njk

8 lines
278 B
Plaintext
Raw Normal View History

2025-02-19 03:03:13 -05:00
{% set navPages = collections.all | eleventyNavigation %}
<nav>
<ul>
{% for entry in navPages %}<li>
<a href="{{ entry.url }}" {% if entry.url == page.url %} aria-current="page" {% endif %}>{{ entry.title }}</a>
</li>{% endfor %}
</ul>
</nav>