{{- with .Site.GetPage "section" (.Get 0) }} {{- .Permalink -}} {{- else -}} {{- .Get 0 | relref .Page -}} {{- end -}}