-
Notifications
You must be signed in to change notification settings - Fork 13
/
talks.html
100 lines (94 loc) · 3.57 KB
/
talks.html
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
layout: default
permalink: /talks/
title: Talks
---
<div class="popout">
<section>
<h1>RustFest 2017 Talks</h1>
</section>
</div>
<div>
<section>
<ul class="talks">
{% for talk in site.data.talks %}
{% assign speaker = site.data.speakers[talk.by] %}
{% if talk.public %}
<li>
<h2 class="title" id="{{talk.title | slugify}}">{% if talk.special %}<span class="badge badge-{{talk.special}}">{{talk.special}}</span>{% endif %}{{talk.title}}</h2>
<div class="wrap">
{% if speaker %}
<div id="{{speaker.name |slugify }}" class="speaker">
<div class="portrait">
<img src="/assets/speakers/{{speaker.thumbnailUrl}}" />
</div>
<div class="desc">
<h3 class="name">{{speaker.name}}</h3>
{{speaker.desc | markdownify }}
<ul class="links">
{% for link in speaker.links %}
<li><a href="{{link.link}}" target="_blank" title="{{link.title}}">{% include icons/{{link.icon}}.svg %}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% else %}
{% for spk in talk.speakers %}
{% assign speaker = site.data.speakers[spk] %}
<div id="{{speaker.name |slugify }}" class="speaker">
<div class="portrait">
<img src="/assets/speakers/{{speaker.thumbnailUrl}}" />
</div>
<div class="desc">
<h3 class="name">{{speaker.name}}</h3>
{{speaker.desc | markdownify }}
<ul class="links">
{% for link in speaker.links %}
<li><a href="{{link.link}}" target="_blank" title="{{link.title}}">{% include icons/{{link.icon}}.svg %}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% endfor %}
{% endif %}
<div class="abstract">
{{talk.desc | markdownify}}
{% if talk.video %}
<p><a href="{{talk.video}}">Watch the video</a></p>
{% endif %}
</div>
</div>
</li>
{% endif %}
{% endfor %}
</ul>
</section>
<section>
<h3>Further on stage</h3>
<ul class="talks">
{% for spk in site.data.speakers %}
{% assign speaker = spk[1] %}
{% if speaker.staged %}
<li>
<h2 class="title" id="{{speaker.name | slugify}}">{{speaker.name}}</h2>
<div class="wrap">
<div class="speaker">
<div class="portrait">
<img src="/assets/speakers/{{speaker.thumbnailUrl}}" />
</div>
<div class="desc">
{{speaker.desc | markdownify }}
<ul class="links">
{% for link in speaker.links %}
<li><a href="{{link.link}}" target="_blank" title="{{link.title}}">{% include icons/{{link.icon}}.svg %}</a></li>
{% endfor %}
</ul>
</div>
</div>
</div>
</li>
{% endif %}
{% endfor %}
</ul>
</section>
</div>