diff --git a/themes/devopsdays-legacy/layouts/partials/future.html b/themes/devopsdays-legacy/layouts/partials/future.html index 626838c80ca..2c8b645cb85 100644 --- a/themes/devopsdays-legacy/layouts/partials/future.html +++ b/themes/devopsdays-legacy/layouts/partials/future.html @@ -11,13 +11,13 @@ {{ range seq .Now.Year (add .Now.Year 1) }} {{ $future_year := (chomp .) }} {{ range $.Site.Data.events }} - {{ if and (eq .year $future_year) (eq .status "current") }} + {{ if and (eq .year $future_year) (eq .status "current") ( .startdate ) }} {{ $.Scratch.SetInMap "future_years" $future_year $future_year }} {{ $.Scratch.SetInMap (print "future" $future_year) .startdate .friendly }} {{ end }} {{ end }} {{ end }} - +