{# The Home's weather box (region "weather"): w = views.home_box, outdoor = the stations plugin's outdoor readings (ctx.ask("stations", "outdoor"), may be empty). #} {% from "_reading.html" import reading %} {% if w.status %}
Weather: {{ w.status }}
{% else %}
{{ w.temp }}
{{ w.desc }}{% if w.hl %}{{ w.hl }}{% endif %}
{% for x in w.extras %}{% if x.arrow is defined and x.arrow is not none %} {% elif x.svg %} {% elif x.glyph %}{{ x.glyph }} {% endif %}{{ x.text }}{% endfor %}
{% if outdoor %}
{% for r in outdoor %}{{ reading(r) }}{% endfor %}
{% endif %}
{% for dd in w.days %}
{{ dd.label }}
{{ dd.hi }}{{ dd.lo }}
{% endfor %}
{% endif %}