header navigation build
This commit is contained in:
parent
5e80795933
commit
918b37f8b4
1 changed files with 10 additions and 6 deletions
|
|
@ -1,7 +1,11 @@
|
|||
<nav>
|
||||
<ul>
|
||||
{%- for item in nav.items -%}
|
||||
<li>{{ item.data.name }}</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</nav>
|
||||
<ul>
|
||||
{%- for item in nav.items -%}
|
||||
<a href="{{ item.url }}" title="{{ item.title }}">
|
||||
<li>
|
||||
{{ item.name }}
|
||||
</li>
|
||||
</a>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Reference in a new issue