-
Notifications
You must be signed in to change notification settings - Fork 0
/
talks.html
25 lines (24 loc) · 829 Bytes
/
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
---
layout: default
title: Talks
---
<ul class="posts">
{% assign talks = site.talks | sort: 'date' | reverse %}
{% for talk in talks %}
<li>
<h2>
{% if talk.post_url %}
<a href="{{ talk.post_url }}">{{ talk.title }} » </a>
{% else %}
<a href="{{ talk.url }}">{{ talk.title }} » </a>
{% endif %}
</h2>
<p class="date">{{ talk.date | date_to_string }}</p>
{% if talk.youtube %}
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ talk.youtube }}" frameborder="0" allowfullscreen></iframe>
{% elsif talk.vimeo %}
<iframe src="https://player.vimeo.com/video/{{ talk.vimeo }}" width="560" height="315" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
{% endif %}
</li>
{% endfor %}
</ul>