{% for session in sessions if speaker.name in session.speakers %}
{% if loop.first %}
<h2>Session</h2>
{% endif %}
<a href="{{ session.url }}">
{{ session.title }}
</a>
{% endfor %}