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