mirror of
https://gitlab.com/veilid/veilid-dot-com.git
synced 2024-09-08 18:13:35 +00:00
9 lines
271 B
Twig
9 lines
271 B
Twig
{%- if menu|length > 1 ~%}
|
|
<nav>
|
|
<ul>
|
|
{%- for item in attribute(site.menus, menu)|sort_by_weight ~%}
|
|
<li><a href="{{ url(item.url) }}">{{ item.name }}</a></li>
|
|
{%- endfor ~%}
|
|
</ul>
|
|
</nav>
|
|
{%- endif ~%} |