Add talks on speaker page

This commit is contained in:
Oliver Davies 2019-05-03 13:29:40 +01:00
parent 82802ecc45
commit 2e76f53407
3 changed files with 14 additions and 0 deletions

View file

@ -15,5 +15,7 @@
{% block content_bottom %}{% endblock %} {% block content_bottom %}{% endblock %}
</div> </div>
{% block content_bottom %}{% endblock %}
</main> </main>
{% endblock %} {% endblock %}

View file

@ -1,3 +1,13 @@
{% extends 'page' %} {% extends 'page' %}
{% block title %}{{ page.name }}{% endblock %} {% block title %}{{ page.name }}{% 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 %}
{% endblock %}

View file

@ -1,5 +1,7 @@
--- ---
name: Tom Metcalfe name: Tom Metcalfe
twitter: tommymets9 twitter: tommymets9
use:
- sessions
--- ---
Some stuff about Tom. Some stuff about Tom.