Upcoming

{{ range ($.Page.CurrentSection.Pages.ByParam "endEventDate") }} {{ $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 $.Page.CurrentSection.Pages "Section" "post") }} {{ partial "postcard" (dict "context" . "card_type" "normal" ) }} {{ end }}