{{ define "main" }}
{{- .Content -}}
{{ range .Paginator.Pages }}
{{ if .Site.Params.list_post_summary_with_image }} {{- partial "summary-with-image.html" . -}} {{ else }} {{- partial "summary.html" . -}} {{ end }}
{{ end }}
{{- template "_internal/pagination.html" . -}}
{{ end }}