This commit is contained in:
Oliver Davies 2018-05-29 01:33:00 +02:00
parent 9212cdb015
commit 13a3c1c866
28 changed files with 154 additions and 204 deletions

View file

@ -6,20 +6,24 @@ meta:
use: [talks]
---
{% block content %}
<p>I regularly speak at conferences and user groups about a range of subjects including Drupal, Sculpin and Git. If you would like to me to speak at your group or conference, please <a href="{{ site.url }}/contact">get in touch</a>.</p>
<p>I regularly speak at conferences and user groups about a range of subjects including Drupal, Sculpin and Git. If you would like to me to speak at your group or conference, please <a href="/contact" class="link">get in touch</a>.</p>
<h2>Upcoming Talks</h2>
<div>
<h2>Upcoming Talks</h2>
{% set upcoming_talks = getUpcomingTalks(data.talks, site.events) %}
{% if not upcoming_talks.empty %}
{% include "talks-table" with { talks: upcoming_talks, upcoming: true } %}
{% else %}
<p>Nothing scheduled at the moment.</p>
{% endif %}
{% set upcoming_talks = getUpcomingTalks(data.talks, site.events) %}
{% if not upcoming_talks.empty %}
{% include "talks-table" with { talks: upcoming_talks, upcoming: true } %}
{% else %}
<p>Nothing scheduled at the moment.</p>
{% endif %}
</div>
<h2>Last 5 Talks</h2>
<div>
<h2>Last 5 Talks</h2>
{% include "talks-table" with { talks: getPastTalks(data.talks, site.events)|slice(0,5) } %}
{% include "talks-table" with { talks: getPastTalks(data.talks, site.events)|slice(0,5) } %}
<p>All previous talks can be found in the <a href="{{ site.url }}/talks/archive">talks archive</a>.</p>
<p>All previous talks can be found in the <a href="/talks/archive" class="link">talks archive</a>.</p>
</div>
{% endblock %}