{% for session in table %}

Session {{ forloop.counter0|add:starting_session_index }}

{% for sheet in session %}
{% if sheet %}

{{ sheet.url_name }}

{% endif %}
{% endfor %} {% endfor %}