From 54c9af9c088896e29a33efe24642bca1c5f883c9 Mon Sep 17 00:00:00 2001 From: Jake Mason Date: Fri, 24 Mar 2023 21:22:17 -0400 Subject: [PATCH] Hide counters until 30 days out --- src/templates/src/landing.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/templates/src/landing.html b/src/templates/src/landing.html index 05dfab7..87e7b24 100644 --- a/src/templates/src/landing.html +++ b/src/templates/src/landing.html @@ -261,11 +261,9 @@ Happening now. {{ else if eq .HMBostonDaysUntilStart 1 }} Starting tomorrow. - {{ else }} + {{ else if lt .HMBostonDaysUntilStart 31 }} In {{ .HMBostonDaysUntilStart }} days. {{ end }} - {{ else }} - See the results. {{ end }}
@@ -275,11 +273,9 @@ Happening now. {{ else if eq .HMSDaysUntilStart 1 }} Starting tomorrow. - {{ else }} + {{ else if lt .HMSDaysUntilStart 31 }} In {{ .HMSDaysUntilStart }} days. {{ end }} - {{ else }} - See the results. {{ end }}