package main const tem = ` {{define "top"}} {{.}}

{{.}}

{{end}} {{define "bottom"}}
{{end}} {{define "post"}}
{{.Author}}
{{.Content}}
{{end}} {{define "postForm"}}
{{end}} {{define "pageGeneric"}} {{template "top" .Title}}

{{.Content}}

{{template "bottom"}} {{end}} {{define "pageHome"}} {{template "top" "Home"}} {{template "postForm"}}
{{range .}} {{template "post" .}} {{end}} {{template "bottom"}} {{end}} `