{{ partial "header.html" . }}

404 Error

Maybe you want one of these?

{{ range .Data.Pages }} {{ end }}
{{ partial "footer.html" . }}