Extract partials

This commit is contained in:
Oliver Davies 2019-05-03 18:40:05 +01:00
parent a594e5c8ea
commit 86a82561f4
4 changed files with 26 additions and 18 deletions

View file

@ -39,12 +39,9 @@
{% endblock %}
{% block content_bottom %}
<h3>Session</h3>
{% for session in data.sessions if page.name in session.speakers %}
<a href="{{ session.url }}">
{{ session.title }}
</a>
{% endfor %}
{% include 'speaker-session' with {
sessions: data.sessions,
speaker: page
} %}
</aside>
{% endblock %}