diff --git a/modules/default/weather/forecast.njk b/modules/default/weather/forecast.njk index 7d0f515d..98569e23 100644 --- a/modules/default/weather/forecast.njk +++ b/modules/default/weather/forecast.njk @@ -10,19 +10,25 @@ {% set forecast = forecast.slice(0, numSteps) %} {% for f in forecast %} + {% if (currentStep == 0) %} + {{ "TODAY" | translate }} + {% elif (currentStep == 1) %} + {{ "TOMORROW" | translate }} + {% else %} {{ f.date.format('ddd') }} - - - {{ f.maxTemperature | roundValue | unit("temperature") }} - - - {{ f.minTemperature | roundValue | unit("temperature") }} - - {% if config.showPrecipitationAmount %} - - {{ f.precipitation | unit("precip") }} - - {% endif %} + {% endif %} + + + {{ f.maxTemperature | roundValue | unit("temperature") }} + + + {{ f.minTemperature | roundValue | unit("temperature") }} + + {% if config.showPrecipitationAmount %} + + {{ f.precipitation | unit("precip") }} + + {% endif %} {% set currentStep = currentStep + 1 %} {% endfor %}