diff --git a/MMM-covid19.njk b/MMM-covid19.njk index 27fa6fd..04a01a3 100644 --- a/MMM-covid19.njk +++ b/MMM-covid19.njk @@ -1,3 +1,12 @@ + +{% if cases.new7_100k < 20 %} + {% set new7_class = "good" %} +{% elif cases.new7_100k > 35 %} + {% set new7_class = "warn" %} +{% elif cases.new7_100k > 50 %} + {% set new7_class = "bad" %} +{% endif %} + {% if cases.trend == "even" %} {% set trend_class = "none" %} @@ -16,7 +25,7 @@