{{ if .IsHome }} {{ $pages := first .Site.Params.latestPostsCount (where .Site.RegularPages "Section" "blog") }}