Extract partials
This commit is contained in:
parent
a594e5c8ea
commit
86a82561f4
4 changed files with 26 additions and 18 deletions
|
@ -1,15 +1,8 @@
|
|||
{% extends 'page' %}
|
||||
|
||||
{% block content_bottom %}
|
||||
<h2>Speakers</h2>
|
||||
|
||||
<ul>
|
||||
{% for speaker in data.speakers if speaker.name in page.speakers %}
|
||||
<li>
|
||||
<a href="{{ speaker.url }}">
|
||||
{{ speaker.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% include 'session-speakers' with {
|
||||
session: page,
|
||||
speakers: data.speakers,
|
||||
} %}
|
||||
{% endblock %}
|
||||
|
|
Reference in a new issue