Web/layouts/partials/nav.html
2024-02-21 17:58:07 +01:00

9 lines
239 B
HTML

<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>