{{ range $i, $element := sort $.Site.Data.events.events "iso8601" }} {{ if and (le $i 2) (now.Before (time .iso8601)) }}