{{range $i, $p := .Posts}}
{{with $p.Thumbnail}}{{end}}

{{if $p.ShowFeatured}}Cover story{{else}}{{with $p.Categories}}{{(index . 0).Name}}{{else}}Journal{{end}}{{end}}

{{$p.Title}}

{{if $p.ShowExcerpt}}
{{$p.Excerpt}}
{{end}}
{{end}}