Takubeh/layouts/partials/menu.html

8 lines
251 B
HTML
Raw Normal View History

2024-02-28 23:07:49 +01:00
{{ with site.Menus.main }}
<nav class="box container menu color -blue3">
{{- range . -}}
<a{{ if $.IsMenuCurrent .Menu . }} class="active" aria-current="page"{{ end }} href="{{ .URL }}">{{ .Name }}</a>
{{- end -}}
</nav>
{{ end }}