{{ define "main" }}
{{ range where .Site.RegularPages "Section" "posts" }}

{{.Title}}

{{- $thumb := .Page.Resources.Get .Params.featured_image -}} {{if $thumb}} {{end}}
{{.Summary}}
{{ end }}
{{ partial "sidebar.html" . }}
{{ end }}