From bd069ce81f7529b62ee7b8fe52e35df91db83395 Mon Sep 17 00:00:00 2001 From: Jesper Dramsch Date: Mon, 30 Dec 2024 02:16:31 +0100 Subject: [PATCH] fix: ical and year legacy --- _layouts/calendar-conferences.ics | 2 +- _layouts/year.html | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_layouts/calendar-conferences.ics b/_layouts/calendar-conferences.ics index 111af1436a..62b60b1503 100644 --- a/_layouts/calendar-conferences.ics +++ b/_layouts/calendar-conferences.ics @@ -10,7 +10,7 @@ ORGANIZER:pythondeadlin.es DTSTAMP:{{ site.time | date: "%Y%m%dT%H%M%SZ" }} DTSTART;VALUE=DATE:{{ conf.start | date: "%Y%m%d"}} DTEND;VALUE=DATE:{{ conf.end | date: "%Y%m%d"}} -{%- capture desc -%}{{ conf.conference }} {{ conf.year }} found on PythonDeadlin.es.{%- endcapture -%} +{% capture desc -%}{{ conf.conference }} {{ conf.year }} found on PythonDeadlin.es.{% endcapture -%} {{ desc | prepend: "DESCRIPTION:" | normalize_whitespace | wrap_lines }} LOCATION:{{ conf.place }} ORGANIZER:pythondeadlin.es diff --git a/_layouts/year.html b/_layouts/year.html index 447b1f9a94..fc0534a605 100644 --- a/_layouts/year.html +++ b/_layouts/year.html @@ -11,8 +11,9 @@

{% t titles.past_events %}

- {% assign confs = site.data.archive | sort: "start" | reverse | where_exp: "item", "item.year == - page.year" %} {% for conf in confs %} {% assign subs = conf.sub | split: "," %} + {% assign confs = site.data.archive | concat: site.data.legacy | sort: "start" | reverse | + where_exp: "item", "item.year == page.year" %} {% for conf in confs %} {% assign subs = conf.sub | + split: "," %}