{{ $related := .Site.RegularPages.Related . | first 2 }} {{ with $related }} {{ end }}