ResCompLeedsCon / conference2022

ResCompLeedsCon2022 conference page
https://rescompleedscon.github.io/conference2022/
MIT License
1 stars 1 forks source link

Correct speaker populating logic for panel sessions #7

Closed Sparrow0hawk closed 2 years ago

Sparrow0hawk commented 2 years ago

At present sessions that aren't multi-talk sessions have a logic for populating speakers in the schedule that looks like this:

(% if session.speakers[0] == speaker.id %}
    // do speaker stuff
{% endif %}

This works for things like the keynote with one speaker but for panels it only renders one speaker. This needs updating.