Takubeh/layouts/partials/menu.html

8 lines
251 B
HTML

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