{{- template "main" . }} {{- template "js" . }} {{- define "main" }} {{- with .Results }} {{ block "results" . }}{{ end }} {{- end }} {{- end }} {{- define "js" }} {{- end }}