{% extends "layout.html" %} {% block body %}
{% for position, modules in tiles.items() %} {# Check if we have more than one module for this position, and if so use a carousel to show all in one place #} {% if modules | length > 1 %}
{% else %} {% for module in modules %}
{# Define the modules container so it can be reloaded via ajax #}
{% include "ajax.html" %}
{% endfor %} {% endif %} {% endfor %}
{% endblock %}