{{template "layout/base" .}} {{define "head"}} {{end}} {{define "content" }} {{if .posts}}
{{if .header}} {{end}} {{ range $k,$v:=.posts}} {{end}} {{template "layout/page" .}}
{{else }} {{template "layout/empty" .}} {{end}} {{end}} {{define "footer"}} {{end}}