{{- with .Site.Menus.footer }} <div class="footer__links"> {{ range $key, $value := . }} {{- if ne $key 0 }} | {{ end -}} <a class="footer__link" href="{{ $value.URL }}">{{ $value.Name }}</a> {{- end }} </div> {{- end }}