Re-organise talks
This commit is contained in:
parent
e0e93e4fe5
commit
b60fb6038e
11 changed files with 192 additions and 12 deletions
source
|
@ -8,6 +8,8 @@ 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>
|
||||
|
||||
<h2>Last 5 Talks</h2>
|
||||
|
||||
{% set talks = [] %}
|
||||
{% for talk in data.talks %}
|
||||
{% for event in talk.events %}
|
||||
|
@ -18,7 +20,9 @@ use: [talks]
|
|||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
{% include "talks-table" %}
|
||||
{% include "talks-table" with {
|
||||
talks: talks|format_talks|slice(0,5)
|
||||
} %}
|
||||
|
||||
<p>Upcoming talks can be found in the <a href="{{ site.url }}/talks/archive">talks archive</a>.</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -24,6 +24,6 @@ talks:
|
|||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
{% include 'talks-table' %}
|
||||
{% include 'talks-table' with { talks: talks|format_talks } %}
|
||||
|
||||
<p>Upcoming talks can be found on the <a href="{{ site.url }}/talks">talks page]</a>.</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue