{{ define "title" }} {{ .Title }} {{ end }} {{ define "main" }} {{ .Content }} {{- range .Data.Pages }} {{ .Title }} {{- end }} {{ end }}