{{ range .pages }} {{- $page := partial "GetPageByUrl" .page -}} {{- if .slug -}} {{- $page = partial "GetPageByUrl" .slug -}} {{- end -}} {{ with $page }}
  • {{- partial "PrepareHTML" .Title -}}
  • {{- end -}} {{ end }}