This commit is contained in:
Oliver Davies 2018-05-09 23:24:08 +01:00
parent 66667bcb5b
commit 4fa5cd767d
38 changed files with 996 additions and 76 deletions

View file

@ -6,21 +6,20 @@ meta:
use: [talks]
---
{% block content %}
{% for talk in data.talks %}
<div class="sm:flex sm:flex-row-reverse sm:-mx-2 mb-12 sm:mb-12">
<div class="sm:flex-1 sm:mx-2">
<h2>
<a href="{{ talk.url }}">
{{ talk.title }}
</a>
</h2>
<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>
<div>
{{ talk.summary|markdown }}
</div>
</div>
<h2>Upcoming Talks</h2>
{% include 'talk/image.html.twig' %}
</div>
{% endfor %}
{% set upcoming_talks = getUpcomingTalks(data.talks, site.events) %}
{% if upcoming_talks %}
{% include "talks-table" with { talks: upcoming_talks, upcoming: true } %}
{% else %}
<p>Nothing scheduled at the moment.</p>
{% endif %}
<h2>Last 5 Talks</h2>
{% 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>
{% endblock %}