Only show heading if there is a title
This commit is contained in:
parent
0a9dbce007
commit
e618511906
|
@ -1,6 +1,8 @@
|
|||
<h2>Session</h2>
|
||||
|
||||
{% for session in sessions if speaker.name in session.speakers %}
|
||||
{% if loop.first %}
|
||||
<h2>Session</h2>
|
||||
{% endif %}
|
||||
|
||||
<a href="{{ session.url }}">
|
||||
{{ session.title }}
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue