{% if forecast %} {% set numSteps = forecast | calcNumSteps %} {% set currentStep = 0 %}
{{ f.date.format('ddd') }} | {{ f.maxTemperature | roundValue | unit("temperature") }} | {{ f.minTemperature | roundValue | unit("temperature") }} | {% if config.showPrecipitationAmount %}{{ f.precipitation | unit("precip") }} | {% endif %}