Roots: {% for root in roots %} {% with name=root.name %} {% include 'includes/root.html' %} {% endwith %} {% endfor %} {% if user %} {% with name="@personal", upload=True %} {% set title="This special root contains the results of calculations done by the user" %} {% include 'includes/root.html' %} {% endwith %} {% with name="@shared", upload=True %} {% include 'includes/root.html' %} {% endwith %} {% endif %} {% with name="@public", upload=user %} {% include 'includes/root.html' %} {% endwith %}