Web/layouts/partials/nav.html

9 lines
239 B
HTML
Raw Permalink Normal View History

2024-02-21 17:58:07 +01:00
<nav>
<!-- TODO: Add active attribute when being visited -->
<ul>
{{ range .Site.Menus.main.ByWeight -}}
{{ .Pre }}<li><a href="{{ .URL }}" title="{{ .Title }}">{{- .Name -}}</a></li>{{ .Post }}
{{- end }}
</ul>
</nav>