{{- if .Site.Menus.main }} {{- $currentNode := . }} {{- range sort .Site.Menus.main }} {{- if .Name}} {{ .Name | upper }} {{- end }} {{- end }} {{ else -}}