{{define "body"}}

News

{{template "flashes" .}}
{{range $news_post := .news}} {{template "row-news" dict "post" $news_post "categories" $.categories}} {{end}}
{{end}} {{define "row-news"}}

{{.post.Title}}

{{dateFormat .post.Date}}
Category: {{fullCategoryPath .categories .post.Category_id}}
{{.post.Notes}}
{{end}}