chugging away, no i am not splitting this into fine-grained commits
This commit is contained in:
22
_includes/header.njk
Normal file
22
_includes/header.njk
Normal file
@ -0,0 +1,22 @@
|
||||
<header>
|
||||
|
||||
<a href="#main" id="skip" title="skip to main content" aria-label="skip to main content">
|
||||
<i class="fa-solid fa-forward" aria-hidden="true"></i> skip
|
||||
</a>
|
||||
|
||||
<nav aria-label="main navigation">
|
||||
<ul>
|
||||
{% for entry in collections.all | eleventyNavigation %}
|
||||
<li>
|
||||
<a href="{{ entry.url }}" title="{{ entry.data.label }}"
|
||||
{% if entry.url == page.url %}aria-current="page"{% endif %}
|
||||
aria-label="{{ entry.data.label }}">
|
||||
<i class="{{ entry.data.icon }}" aria-hidden="true"></i>
|
||||
<span class="menu-text">{{ entry.title }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</header>
|
||||
Reference in New Issue
Block a user