Upcoming
{{ range (where (.Site.RegularPages.ByParam "eventEndDate") "Section" "post") }}
{{ $FormattedNow := (now.AddDate 0 0 -1) }}
{{ if le $FormattedNow .Params.eventEndDate }}
{{ partial "postcard" (dict "context" . "card_type" "upcoming" ) }}
{{ end }}
{{ end }}
{{ $numlist := 3 }}
{{ $numlist }} Newest Posts
{{ range first $numlist (where .Site.RegularPages "Section" "post") }}
{{ partial "postcard" (dict "context" . "card_type" "normal" ) }}
{{ end }}