Use speakerSessions function
This commit is contained in:
parent
31da26af26
commit
6a137dbee7
|
@ -1,4 +1,4 @@
|
|||
{% for session in sessions if speaker.name in session.speakers %}
|
||||
{% for session in sessions %}
|
||||
{% if loop.first %}
|
||||
<h2 class="tw-mt-8">Session</h2>
|
||||
{% endif %}
|
||||
|
|
|
@ -44,10 +44,9 @@
|
|||
</div>
|
||||
|
||||
<aside>
|
||||
{% include 'speaker-session' with {
|
||||
sessions: data.sessions,
|
||||
speaker: page
|
||||
} %}
|
||||
{% include 'speaker-session' with {
|
||||
sessions: speakerSessions(page, data.sessions),
|
||||
} %}
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue