{{ define "main" }}
{{ $paginator := .Paginate ( where .Data.Pages "Type" "post") }} {{ range $paginator.Pages }}
{{ partial "card" . }}
{{ end }}
{{ partial "pagination" . }}
{{ partial "blog-sidebar.html" . }}
{{ end }}