Update session layout

This commit is contained in:
Oliver Davies 2019-05-20 23:50:50 +01:00
parent 866c548d19
commit 200e357bf6
2 changed files with 4 additions and 5 deletions

View file

@ -1,7 +1,7 @@
<h2>Speakers</h2> <h2>Speakers</h2>
<ul> <ul>
{% for speaker in speakers if speaker.name in session.speakers %} {% for speaker in speakers %}
<li> <li>
<a href="{{ speaker.url }}"> <a href="{{ speaker.url }}">
{{ speaker.name }} {{ speaker.name }}

View file

@ -1,8 +1,7 @@
{% extends 'page' %} {% extends 'page' %}
{% block content_bottom %} {% block content_bottom %}
{% include 'session-speakers' with { {% include 'session-speakers' with {
session: page, speakers: sessionSpeakers(page, data.speakers),
speakers: data.speakers, } %}
} %}
{% endblock %} {% endblock %}