{{ define "main" }}
{{ range ( where .Site.RegularPages "Type" "featured" )}}
{{ if .Params.Image }} {{ .Title | markdownify }} {{ end }}
{{ .Title | markdownify }}

{{.Summary}}...

{{ end }}
{{ range first 3 (where .Site.RegularPages "Type" "post")}}
{{ if .Params.Image }}
{{ end }}
{{ .Title | markdownify }} read more
{{ end }}
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }} {{ range $paginator.Pages }}
{{ end }}
{{ partial "sidebar.html" . }}
{{ template "_internal/pagination.html" . }}
{{ end }}