{# This template is processed using the Twig template engine Learn more at: http://twig.sensiolabs.org/doc/templates.html You can override this output by copying this file into your theme's directory, in a subfolder named "wunderground". The path to the file would look like this: /wp-content/themes/my-theme/wunderground/simple.html #} {# Escape the HTML in the passed data automatically #} {% autoescape 'html' %} {% spaceless %}
{% include 'search-form.html' %} {% include 'alert.html' %}
{% for i in range( low = 0, high = (numdays - 1) ) %} {% set day = wunderground.forecast.days[i] %} {% set summary = day.summary %} {% set forecast = day.summary.day %} {% include 'day-simple.html' %} {% if showdata.night is not empty %} {% set forecast = day.summary.night %} {% include 'day-simple.html' with { 'night' : true } %} {% endif %} {% endfor %}
{% include 'copyright.html' %}
{% endspaceless %} {% endautoescape %}