erambler/content/talks.md

49 lines
854 B
Markdown
Raw Normal View History

2020-10-21 15:58:47 +00:00
---
title: Talks
date: 2020-10-21 14:00:04 UTC+01:00
slug: talks
type: text
data: data/talks.yaml
2021-09-27 20:20:31 +00:00
# menu:
# main:
# name: talks
# weight: 50
2020-10-21 15:58:47 +00:00
---
Here is a selection of talks that I've given.
{{%/* template %}}
2020-10-21 16:11:57 +00:00
<%! import arrow %>
2020-10-21 15:58:47 +00:00
<table>
<thead>
<tr>
<th>Date</th>
<th>Title</th>
<th>Location</th>
</tr>
</thead>
% for talk in post.data("talks"):
<tr>
<td>
% if 'date' in talk:
2020-10-21 16:11:57 +00:00
<% date = arrow.get(talk['date']) %>
${date.format('ddd d MMM YYYY')}
2020-10-21 15:58:47 +00:00
% endif
</td>
<td>
% if 'url' in talk:
<a href="${talk['url']}">
% endif
${talk['title']}
% if 'url' in talk:
</a>
% endif
</td>
<td>
${talk.get('location', '')}
</td>
</tr>
% endfor
</table>
{{% /template */%}}