-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpresentation_timeline.html
More file actions
66 lines (60 loc) · 3.48 KB
/
presentation_timeline.html
File metadata and controls
66 lines (60 loc) · 3.48 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<section id="cd-timeline" class="cd-container">
{% assign events = site.data.schedule | where:include.param, 1 | sort:"time" %}
{% for event in events %}
<div class="cd-timeline-block">
<div class="cd-timeline-img">
<img src="{{ site.data.path }}img/clockface/{{ event.timeImg }}">
</div>
<div class="cd-timeline-content">
<div class="row">
<div class="col-sm-7 col-xs-12">
<h2>{{ event.title }}</h2>
</div>
<div class="col-sm-5 col-xs-12 text-right">
<h2>{{ event.time }}</h2>
</div>
</div>
{% if event.groupId %}
{% assign talks = site.posts | where:"group",event.groupId | sort:"spot" %}
{% for talk in talks %}
<div class="row talk-row">
<div class="col-xs-12">
{% if event.groupId != 'key-open' && event.groupId != 'key-close' %}
<h4><a href="{{ talk.url }}">{{ talk.title }}</a></h4>
{% endif %}
</div>
<div class="col-xs-12 hidden-xs">
{% for speakerId in talk.speakers %}
{% if speakerId != 0 %}
{% assign speaker = site.data.speakers_final[speakerId] %}
{% if speaker %}
<div class="col-sm-3 text-center">
<a href="/speakers.html#{{speaker.Name | slugify }}">
<img class="clip-circle-speaker" src="{{ speaker.Image-URL }}" alt="{{ speaker.Name }}">
{% if event.groupId != 'key-open' and event.groupId != 'key-close' %}
<span>{{ speaker.Name }}</span>
{% endif %}
</a>
</div>
{% else %}
{% assign speaker = site.data.speakers_dummy[speakerId] %}
{% if speaker %}
<div class="col-sm-3 text-center">
<img class="clip-circle-speaker" src="{{ speaker.Image-URL }}" alt="{{ speaker.Name }}">
{% if event.groupId != 'key-open' and event.groupId != 'key-close' %}
<span>{{ speaker.Name }}</span>
{% endif %}
</div>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</div>
</div>
{% endfor %}
{% endif %}
<div class="clearfix"></div>
</div>
</div> <!-- cd-timeline-block -->
{% endfor %}
</section> <!-- cd-timeline -->