Add speakers to sessions
This commit is contained in:
parent
d49d055a6b
commit
4e1377c04b
|
@ -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 %}
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue