-
Notifications
You must be signed in to change notification settings - Fork 4
/
talks.html
73 lines (65 loc) · 2.34 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
---
layout: default
permalink: /talks/
title: Talks
---
<div class="popout">
<section>
<h1>RustFest Rome 2018 Talks</h1>
<a href="/schedule">☷ Talks Schedule</a>
<br />
<a href="/workshops">☷ Workshops</a>
<br />
<a href="/about_impl_days">☷ impl Days</a>
</section>
</div>
<div>
<section>
<ul class="talks">
{% assign talks_data = site.sessions | where: "type", "talk" | sort: "special" | reverse %}
{% for talk in talks_data %}
{% if talk.public %}
{% if talk.speakers.size > 1 %}
{% assign speaker = nil %}
{% else %}
{% assign speaker = site.data.speakers[talk.speakers.first] %}
{% endif %}
<li>
<h2 class="title" id="{{talk.title | slugify}}">{% if talk.special %}<span class="badge badge-{{talk.special}}">{{talk.special}}</span>{% endif %}
{% if speaker %}
<a href="/sessions/{{talk.slug}}">{{ speaker.name }} – {{ talk.title }}</a>
{% else %}
<a href="/sessions/{{talk.slug}}">{{ talk.title }}</a>
{% endif %}
</h2>
<div class="wrap">
{% for name in talk.speakers %}
{% assign speaker = site.data.speakers[name] %}
<div id="{{speaker.name | slugify }}" class="speaker">
<div class="portrait">
<img src="{{site.event.assets | default: "/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 %}
<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>
</div>