diff --git a/themes/devopsdays-legacy/layouts/partials/future.html b/themes/devopsdays-legacy/layouts/partials/future.html index 500cacad1e4..0275d4822a5 100644 --- a/themes/devopsdays-legacy/layouts/partials/future.html +++ b/themes/devopsdays-legacy/layouts/partials/future.html @@ -11,9 +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") ( .startdate ) }} + {{ if and (eq .year $future_year) (eq .status "current") }} {{ $.Scratch.SetInMap "future_years" $future_year $future_year }} - {{ $.Scratch.SetInMap (print "future" $future_year) .startdate .friendly }} + {{ if .startdate }} + {{ $.Scratch.SetInMap (print "future" $future_year) .startdate .friendly }} + {{ else }} + {{ $.Scratch.SetInMap (print "future" $future_year) "TBD" .friendly }} + {{ end }} {{ end }} {{ end }} {{ end }} @@ -33,7 +37,13 @@