From 8158c679fdeb3cb60f60953b0cf0693e38a261e8 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 2 Sep 2024 18:00:00 +0100 Subject: [PATCH] Remove unused code --- source/_pages/talks.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/_pages/talks.md b/source/_pages/talks.md index 565ed219..cab9a0b1 100644 --- a/source/_pages/talks.md +++ b/source/_pages/talks.md @@ -3,13 +3,6 @@ title: Talks and Workshops use: [talks] --- -{% set talkCount = 0 %} -{% for talk in data.talks %} - {% for event in talk.events if 'today'|date('U') >= event.date|date('U') %} - {% set talkCount = talkCount + 1 %} - {% endfor %} -{% endfor %} - Since September 2012, I have given {{ get_past_talk_count(data.talks) }} public presentations and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration. {% for talk in data.talks|sort((a, b) => a.events|last.date|date('U') > b.events|last.date|date('U') ? -1 : 1) %}