Skip to content

Commit bd069ce

Browse files
committed
fix: ical and year legacy
1 parent b0e0023 commit bd069ce

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

_layouts/calendar-conferences.ics

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ORGANIZER:pythondeadlin.es
1010
DTSTAMP:{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
1111
DTSTART;VALUE=DATE:{{ conf.start | date: "%Y%m%d"}}
1212
DTEND;VALUE=DATE:{{ conf.end | date: "%Y%m%d"}}
13-
{%- capture desc -%}<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.{%- endcapture -%}
13+
{% capture desc -%}<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.{% endcapture -%}
1414
{{ desc | prepend: "DESCRIPTION:" | normalize_whitespace | wrap_lines }}
1515
LOCATION:{{ conf.place }}
1616
ORGANIZER:pythondeadlin.es

_layouts/year.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
<div id="confs">
1212
<div id="past_confs">
1313
<h1 id="past-events-title">{% t titles.past_events %}</h1>
14-
{% assign confs = site.data.archive | sort: "start" | reverse | where_exp: "item", "item.year ==
15-
page.year" %} {% for conf in confs %} {% assign subs = conf.sub | split: "," %}
14+
{% assign confs = site.data.archive | concat: site.data.legacy | sort: "start" | reverse |
15+
where_exp: "item", "item.year == page.year" %} {% for conf in confs %} {% assign subs = conf.sub |
16+
split: "," %}
1617
<div
1718
id="{{conf.conference | slugify: 'latin'}}-{{conf.year}}"
1819
class="ConfItem {% for sub in subs %} {{sub | strip}}-conf {% endfor %}"

0 commit comments

Comments
 (0)