{{ range first 4 ( sort (where .Data.Pages "Section" "news") "Date" "desc" ) }} {{ $.Scratch.Add "i" 1 }}{{ $i := $.Scratch.Get "i" }} {{ .Date.Format "January 2, 2006" }} {{ .Params.description | markdownify | truncate 100 "…"}} {{ end }}