This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
speaking.html
77 lines (68 loc) · 2.31 KB
/
speaking.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
74
75
76
77
---
layout: default
title: "<strong>Talks</strong> about web & people things."
nav_title: "Talks"
tab_title: "Talks"
landing: true
---
{% assign upcoming = site.posts | reverse | where:"category","talk" | where:"upcoming","true" %}
<section>
<h2 class="section-header">Upcoming Talks</h2>
{% unless upcoming.size == 0 %}
<ul class="post-grid">
{% for post in upcoming %}
<li class="post-grid-item">
<div class="post-grid-header">
<h2 class="post-title">
{{ post.event }}</a>
</h2>
<p class="post-meta">
{{ post.date | date: "%b %-d, %Y" }}
</p>
</div>
<p class="watch-video">
<a href="{{ post.info }}" target="_blank" rel="noreferrer noopener">
View Event Info
</a>
</p>
</li>
{% endfor %}
</ul>
{% else %}
<div class="post-grid-message">
<p><em>I have no upcoming talks at this time. If you'd like me to come speak at your event, please <a href="mailto:{{ site.email }}">send me an email</a>.</em></p>
</div>
{% endunless %}
</section>
<section>
<h2 class="section-header">Past Talks</h2>
<ul class="post-grid">
{% for post in site.posts %}
{% if post.category == 'talk' and post.upcoming != true %}
<li class="post-grid-item">
<div class="post-grid-header">
<h2 class="post-title">
{{ post.event }}</a>
</h2>
<p class="post-meta">
{{ post.date | date: "%b %-d, %Y" }}
</p>
</div>
<p class="watch-video">
{% if post.video_url %}
<a href="{{ post.video_url }}" target="_blank" rel="noreferrer noopener">Watch Video</a>
{% elsif post.audio_url %}
<a href="{{ post.audio_url }}" target="_blank" rel="noreferrer noopener">Listen to Recording</a>
{% endif %}
{% if post.notist %}
<a href="{{ post.notist }}" target="_blank" rel="noreferrer noopener">View Slides</a>
{% endif %}
{% if post.info %}
<a href="{{ post.info }}" target="_blank" rel="noreferrer noopener">View Event Info</a>
{% endif %}
</p>
</li>
{% endif %}
{% endfor %}
</ul>
</section>