I am experimenting with the package http/template. I have also already managed that e.g. the header, footer, navbar and so on were included in the base templ
http/template
You have to pass the context to the instantiated templates. Use
{{ template "content" .}}
to pass the data in . to the content template.
.
content