Added heade component which includes the main navigation
This commit is contained in:
parent
a7cfc2682d
commit
40575c70e3
|
@ -0,0 +1,12 @@
|
||||||
|
{% set navItems = collections.all | eleventyNavigation %}
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation" aria-label="main navigation" >
|
||||||
|
<ul>
|
||||||
|
{%- for item in navItems %}
|
||||||
|
<li>
|
||||||
|
<a href="{{ item.url }}">{{ item.key }}</a>
|
||||||
|
</li>
|
||||||
|
{%- endfor -%}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
Loading…
Reference in New Issue