{{ range first 5 (where .Site.RegularPages "Section" "blog") }} <article class="h-entry"> <a href="{{ .Permalink }}"> <h3>{{ .Title }}</h3> </a> <p>{{ .Summary }}</p> </article> {{ end }}