-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathspeakers.html
More file actions
50 lines (49 loc) · 2.63 KB
/
speakers.html
File metadata and controls
50 lines (49 loc) · 2.63 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
---
layout: page
title: "PubConf Speakers"
permalink: /speakers/
body_class: speakers
sitemap:
priority: 0.8
---
<h1>PubConf Speakers</h1>
<ol class="speaker-list">
{% for speaker_profile in site.speakers %}
<li>
<figure class="speaker-item">
<a href="{{ speaker_profile.url }}" title="{{ speaker_profile.title }}">
<img src="{% if speaker_profile.image %}{{ speaker_profile.image }}{% else %}/assets/images/speakers/anonymous.png{% endif %}" alt="{{ speaker_profile.title }}" class="speaker">
</a>
<figcaption>
<div>
<div class="name">
<a href="{{ speaker_profile.url }}" title="{{ speaker_profile.title }}">{{ speaker_profile.title }}</a>
{% if speaker_profile.twitter %}<a href="https://twitter.com/{{ speaker_profile.twitter }}"><i class="icon-twitter"></i></a>{% endif %}
</div>
<div class="description">{% if speaker_profile.bio %}{{ speaker_profile.bio }}{% else %}Lazy Bastard{% endif %}</div>
</div>
<div class="events">
{% for event in site.events %}
{% if event.speakers contains speaker_profile.slug %}
{% assign event_speaker = event.speakers[speaker_profile.slug] %}
<a class="event-link" href="{{ event.url }}">
<span class="event-title">{{ event.title }}</span>
{% if event_speaker.place == "champion" %}<span class="event-place champion">(Champion)</span>{% endif %}
{% if event_speaker.place == "finalist" %}<span class="event-place finalist">(Finalist)</span>{% endif %}
</a>
<span style="color:#ccc;"> • </span>
{% endif %}
{% if event.host[speaker_profile.slug] or event.host == speaker_profile.slug %}
<a class="event-link" href="{{ event.url }}">
<span class="event-title">{{ event.title }}</span>
<span class="event-host">(Host)</span>
</a>
<span style="color:#ccc;"> • </span>
{% endif %}
{% endfor %}
</div>
</figcaption>
</figure>
</li>
{% endfor %}
</ol>