Remove unused code

This commit is contained in:
Oliver Davies 2024-09-02 18:00:00 +01:00
parent 23ec8f19ec
commit 8158c679fd

View file

@ -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) %}