{{- define "main" -}} {{- if (gt (len .Content) 0) -}} {{ .Content }} {{- end -}} {{- if gt (len .Data.Pages) 0 }}