{{- $paths := .paths -}} {{- with site.GetPage (index $paths 0) -}}{{- partial "page-link.html" (dict "page" . "label" .Section) -}}{{- end -}} {{- if gt (len $paths) 1 -}} {{- end -}}