diff --git a/modules/default/weather/forecast.njk b/modules/default/weather/forecast.njk index ae752637..85ed0fef 100644 --- a/modules/default/weather/forecast.njk +++ b/modules/default/weather/forecast.njk @@ -10,25 +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') }} - {% endif %} - - - {{ f.maxTemperature | roundValue | unit("temperature") }} - - - {{ f.minTemperature | roundValue | unit("temperature") }} - - {% if config.showPrecipitationAmount %} - - {{ f.precipitation | unit("precip") }} + {% if (currentStep == 0) %} + {{ "TODAY" | translate }} + {% elif (currentStep == 1) %} + {{ "TOMORROW" | translate }} + {% else %} + {{ f.date.format('ddd') }} + {% endif %} + + + {{ f.maxTemperature | roundValue | unit("temperature") }} - {% endif %} + + {{ f.minTemperature | roundValue | unit("temperature") }} + + {% if config.showPrecipitationAmount %} + + {{ f.precipitation | unit("precip") }} + + {% endif %} {% set currentStep = currentStep + 1 %} {% endfor %}