diff --git a/source/_partials/talks-table.html.twig b/source/_partials/talks-table.html.twig new file mode 100644 index 00000000..e9ecabc7 --- /dev/null +++ b/source/_partials/talks-table.html.twig @@ -0,0 +1,26 @@ + + + + + + + + + + {% for talk in talks %} + + + + + + + + {% endfor %} + +
DateTalkEvent
+ {{ talk.date|date(site.default_date_format) }} + + + {{ talk.title }} + + {{ talk.event.name }}
diff --git a/source/_partials/talks/listing-item.html.twig b/source/_partials/talks/listing-item.html.twig deleted file mode 100644 index f97c1e69..00000000 --- a/source/_partials/talks/listing-item.html.twig +++ /dev/null @@ -1,8 +0,0 @@ -
  • - {{ talk.event.name }} - - {% if talk.fuzzy_date %} - {{ talk.title }} - {% else %} - {{ talk.title }} - {% endif %} -
  • diff --git a/source/talks.html.twig b/source/talks.html.twig index c8deedd2..ef1d48e5 100644 --- a/source/talks.html.twig +++ b/source/talks.html.twig @@ -12,53 +12,33 @@ use:

    There is also information about events that I’ve attended and spoken at on my Lanyrd and Joind.in profiles.

    -{% set found = false %} -{% set year = 0 %} {% set now = 'now'|date('U') %} -{% for talk in data.talks|reverse if talk.date >= now %} - {% if loop.first %} - {% set found = true %} +{% include "talks-table" with { talks: data.talks } %} -

    Upcoming Talks

    - {% endif %} +