Skip to content

Commit

Permalink
fix: ical and year legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperDramsch committed Dec 30, 2024
1 parent b0e0023 commit bd069ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _layouts/calendar-conferences.ics
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.{%- endcapture -%}
{% capture desc -%}<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.{% endcapture -%}
{{ desc | prepend: "DESCRIPTION:" | normalize_whitespace | wrap_lines }}
LOCATION:{{ conf.place }}
ORGANIZER:pythondeadlin.es
Expand Down
5 changes: 3 additions & 2 deletions _layouts/year.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
<div id="confs">
<div id="past_confs">
<h1 id="past-events-title">{% t titles.past_events %}</h1>
{% 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: "," %}
<div
id="{{conf.conference | slugify: 'latin'}}-{{conf.year}}"
class="ConfItem {% for sub in subs %} {{sub | strip}}-conf {% endfor %}"
Expand Down

0 comments on commit bd069ce

Please sign in to comment.