From 49ed6da2b48e240e21d787e9504cdd9842dc13dd Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Tue, 27 Jun 2017 13:14:53 -0500 Subject: [PATCH] Other events aren't always only past --- layouts/partials/welcome.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/welcome.html b/layouts/partials/welcome.html index 8b4de0bab..babe97aa5 100644 --- a/layouts/partials/welcome.html +++ b/layouts/partials/welcome.html @@ -82,7 +82,7 @@

devopsdays {{$e.city}}

{{- if .startdate -}} {{- if eq (lower .city) (lower $e.city) -}} {{- if and (ne .startdate $e.startdate) (ne ($.Scratch.Get "past-counter") 1 ) -}} - Past {{ $e.city }} Events
+ Other {{ $e.city }} Events
{{- $.Scratch.Set "past-counter" 1 -}} {{- end -}} {{- if eq (lower .city) (lower $e.city)}}