Add speakers to sessions

This commit is contained in:
Oliver Davies 2019-05-03 13:38:21 +01:00
parent d49d055a6b
commit 4e1377c04b
2 changed files with 18 additions and 0 deletions

View file

@ -1 +1,17 @@
{% extends 'page' %} {% extends 'page' %}
{% block content_bottom %}
<h2>Speakers</h2>
<ul>
{% for speaker in page.speakers %}
{% for speaker_info in data.speakers if speaker_info.name == speaker %}
<li>
<a href="{{ speaker_info.url }}">
{{ speaker_info.name }}
</a>
</li>
{% endfor %}
{% endfor %}
</ul>
{% endblock %}

View file

@ -2,6 +2,8 @@
title: Introduction to Views title: Introduction to Views
speakers: speakers:
- Tom Metcalfe - Tom Metcalfe
use:
- speakers
--- ---
Thinking of covering: Thinking of covering: