{{ $recent := first 4 (where site.RegularPages "Section" "blog") }}
{{ .Content }}

Recent articles


{{ $n := len $recent }} {{ range $idx, $item := $recent }} {{ $isLast := eq (sub $n 1) $idx }} {{ $item.Title }} {{ if not $isLast }}

{{ end }} {{ end }}