-
Notifications
You must be signed in to change notification settings - Fork 0
/
schedule.njk
47 lines (35 loc) · 1007 Bytes
/
schedule.njk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
layout: "page.njk"
title: "Schedule"
---
<table>
<thead>
<tr>
{% for cell in schedule.head %}
<th>
<div class='td-title'>{{cell.title}}</div>
<div class='td-subtitle'>{{cell.subtitle}}</div>
</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in schedule.body %}
<tr>
{% for cell in row %}
<td>
{% if cell.type == "session" %}
<a class='td-title' href="{{cell.title_link}}">{{cell.title}}</a>
{% for speaker in cell.speakers %}
<a class='td-subtitle' href="{{speaker.link}}">{{speaker.name}}</div>
{% endfor %}
{% else %}
<div class='td-title'>{{cell.title}}</div>
<div class='td-subtitle'>{{cell.subtitle}}</div>
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>