Incorrect nesting

This commit is contained in:
Zach Leatherman 2023-01-23 17:26:15 -06:00
parent 25ba65a605
commit 1cad1da169

View File

@ -45,8 +45,8 @@
{#- Read more about `eleventy-navigation` at https://www.11ty.dev/docs/plugins/navigation/ #}
<nav>
<ul class="nav">
<h2 class="visually-hidden">Top level navigation menu</h2>
<ul class="nav">
{%- for entry in collections.all | eleventyNavigation %}
<li class="nav-item"><a href="{{ entry.url }}"{% if entry.url == page.url %} aria-current="page"{% endif %}>{{ entry.title }}</a></li>
{%- endfor %}