{% if config["motd"]["enabled"] %} {% endif %}
{% for section in sections %} {% set section_css_classes = section["css_classes"]|join(" ") %} {% if "type" in section: %} {% if section["type"] == "links" %} {% include "links.html" with context %} {% elif weather["system_on"] and section['type'] == "weather": %} {% include "weather.html" with context %} {% endif %} {% endif %} {% endfor %}