{{- .Section -}}

    {{- $currentSection := .Section -}} {{- $baseurl := urls.Parse $.Site.Params.Baseurl -}} {{- range .Site.Menus.main -}} {{- if .HasChildren -}} {{- range .Children -}} {{- $url := urls.Parse .URL -}} {{- if eq .Parent $currentSection -}} {{- if ne $url.Host $baseurl.Host -}}
  • {{- .Name -}}  
  • {{- else -}}
  • {{- .Name -}}
  • {{- end -}} {{- end -}} {{- end -}} {{- end -}} {{- end -}}