{% for session in sessions %} {% if loop.first %} <h2 class="tw-mt-8">Session</h2> {% endif %} <a href="{{ session.url }}"> {{ session.title }} </a> {% endfor %}