forked from oscar-system/oscar-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
talks.html
49 lines (46 loc) · 1.42 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
---
layout: page
title: Talks
---
A collection of talks about the OSCAR project:
{% assign years = "2020,2019,2018,2017" | split: "," %}
{% assign entries = site.data.talks | sort:"date" | reverse %}
{% for year in years %}
<h3> {{ year }} </h3>
<dl>
{% for p in entries %}
{% if p.date contains year %}
{% assign has_link = false %}
<dt>{{ p.date | date: "%B %e, %Y" }}</dt>
<dd>
{{ p.author }}<br/>
{% if p.talk_url != null %}
{% assign has_link = true %}
<a href="{{ p.talk_url }}">
{% elsif p.pdf_url != null %}
{% assign has_link = true %}
<a href="{{ p.pdf_url }}">
{% elsif p.pdf != null %}
{% assign has_link = true %}
<a href="{{ site.baseurl }}/public/{{ p.pdf }}">
{% endif %}
<em>“{{ p.title }}”</em>
{% if has_link == true %}
</a>
{% endif %}
<br/>
{% if p.conference_url != null %}
<a href="{{ p.conference_url }}">
{% endif %}
{% if p.conference != null %}
{{ p.conference }},<br/>
{% endif %}
{% if p.conference_url != null %}
</a>
{% endif %}
{{ p.location }}
</dd>
{% endif %}
{% endfor %}
</dl>
{% endfor %}