{{ define "main" }}
{{ .Title }}
{{ $meldungen := where .Site.RegularPages "Section" "==" "turniermeldung" }}
{{- $futureMeldungen := slice -}}
{{- range $meldungen -}}
{{- if ge (time.AsTime .Params.dateCompetition) (now.AddDate 0 0 -1) }}
{{- $futureMeldungen = $futureMeldungen | append . }}
{{- end }}
{{- end }}