-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtalks.html
More file actions
43 lines (39 loc) · 1.17 KB
/
talks.html
File metadata and controls
43 lines (39 loc) · 1.17 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
---
layout: page
title: Talks
---
<h1>Talks</h1>
{% assign talks = site.talks | sort: 'date' | reverse %}
{% if talks.size == 0%}
<p>Coming soon!</p>
{% endif %}
{% for talk in talks %}
<article class="entry">
<div class="pure-g">
<div class="pure-u-1-5">
{{ talk.date | date: "%b %-d, %Y" }}
</div>
<div class="pure-u-3-5 column-padding">
{% if talk.external_url %}
<a href="{{ talk.external_url }}">{{ talk.title }}</a>
{% else %}
<a href="{{ site.baseurl }}{{ talk.url }}">{{ talk.title }}</a>
{% endif %}
</div>
<div class="pure-u-1-5">
{% if talk.authors %}
{% assign authors = talk.authors %}
{% else %}
{% assign authors = "" | split: "," %}
{% assign authors = authors | push: talk.author %}
{% endif %}
{% for author in authors %}
{% if site.data.authors[author] %}
{{ site.data.authors[author].name }}{% unless forloop.last %},{% endunless %}
{% else %}
{{ author }}{% unless forloop.last %},{% endunless %}
{% endif %}
{% endfor %}
</div>
</article>
{% endfor %}