{{template "header" .}} {{if and .IsFront .Posts}}{{template "front" .}}{{else}} {{template "layout-open" .}}

{{if .IsHomeHeader}}Latest{{else}}All stories{{end}}

{{if .IsHomeHeader}}{{.PostsPageTitle}}{{else}}Latest news{{end}}

{{if .Posts}}
{{range .Posts}}{{template "content" .}} {{end}}
{{.Pagination}}{{else}}{{template "content-none" .}}{{end}} {{template "layout-close" .}} {{end}} {{template "footer" .}}