{{template "main" .}}
{{define "content"}}
<h1>{{.Title}}</h1>
where Title is a structbase.html
and some info.html
and the idea is that i parse base.html
and then when parsing info.html
it overrides a definition inside base.html
. but it means that i have to decide in code what files to parse together but i think it would be more convenient if info.html
was a page which can just pull whatever it wants in order to be rendered