File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{% for event in include.events %}
2+ {% assign times = event.time | remove: ":" | split: "-" %}
3+ {% if times[0] and times[1] %}
24BEGIN :VEVENT
3- SUMMARY :{{ event.title }}
5+ SUMMARY :{{ event.title }} (Code4Lib {{ site.data.conf.year }})
46{% if event.groupId %}
57{% assign talks = site.posts | where: "group", event.groupId | sort: "spot" %}
68{%- capture desc -%}
@@ -18,9 +20,9 @@ DESCRIPTION: {{ desc | strip }}\n\n
1820{% if event.link %}
1921DESCRIPTION : {{event.button_label}}\n {{event.link}}
2022{% endif %}
21- {% assign times = event.time | remove: ":" | split: "-" %}
2223DTSTART ;TZID=America/New_York :{{include.date}}T{{times[0]}}00
2324DTEND ;TZID=America/New_York :{{include.date}}T{{times[1]}}00
2425{% comment %}LOCATION:http://example.org/TODO{% endcomment %}
2526END :VEVENT
27+ {% endif %}
2628{% endfor %}
Original file line number Diff line number Diff line change 11BEGIN :VCALENDAR
22CALSCALE :GREGORIAN
33VERSION :2.0
4- X-WR-CALNAME :code4lib {{ site.data.year }}
4+ {% if include.livestream %}
5+ {% assign ver = "livestream" %}
6+ {% else %}
7+ {% assign ver = "in-person" %}
8+ {% endif %}
9+ X-WR-CALNAME :Code4Lib {{ site.data.conf.year }} {{ ver }}
510{% assign day1_date = site.data.conf.days[1].date-data | date: "%Y%m%d" %}
611{% assign day1_events = site.data.schedule | where: "day1", true | where: "livestream", include.livestream %}
712{% include calendar-day.ics date=day1_date events=day1_events %}
You can’t perform that action at this time.
0 commit comments