|
1 | 1 | BEGIN:VCALENDAR |
2 | 2 | CALSCALE:GREGORIAN |
3 | 3 | VERSION:2.0 |
4 | | -{% if include.livestream %} |
5 | | -{% assign ver = "livestream" %} |
6 | | -{% else %} |
7 | | -{% assign ver = "in-person" %} |
8 | | -{% endif %} |
| 4 | +{% if include.livestream -%} |
| 5 | +{%- assign ver = "livestream" -%} |
| 6 | +{%- else -%} |
| 7 | +{%- assign ver = "in-person" -%} |
| 8 | +{%- endif -%} |
9 | 9 | X-WR-CALNAME:Code4Lib {{ site.data.conf.year }} {{ ver }} |
10 | | -{% assign day1_date = site.data.conf.days[1].date-data | date: "%Y%m%d" %} |
11 | | -{% assign day1_events = site.data.schedule | where: "day1", true | where: "livestream", include.livestream %} |
12 | | -{% include calendar-day.ics date=day1_date events=day1_events %} |
| 10 | +{%- assign day1_date = site.data.conf.days[1].date-data | date: "%Y%m%d" -%} |
| 11 | +{%- assign day1_events = site.data.schedule | where: "day1", true | where: "livestream", include.livestream -%} |
| 12 | +{%- include calendar-day.ics date=day1_date events=day1_events -%} |
13 | 13 |
|
14 | | -{% assign day2_date = site.data.conf.days[2].date-data | date: "%Y%m%d" %} |
15 | | -{% assign day2_events = site.data.schedule | where: "day2", true | where: "livestream", include.livestream %} |
16 | | -{% include calendar-day.ics date=day2_date events=day2_events %} |
| 14 | +{%- assign day2_date = site.data.conf.days[2].date-data | date: "%Y%m%d" -%} |
| 15 | +{%- assign day2_events = site.data.schedule | where: "day2", true | where: "livestream", include.livestream -%} |
| 16 | +{%- include calendar-day.ics date=day2_date events=day2_events -%} |
17 | 17 |
|
18 | | -{% assign day3_date = site.data.conf.days[3].date-data | date: "%Y%m%d" %} |
19 | | -{% assign day3_events = site.data.schedule | where: "day3", true | where: "livestream", include.livestream %} |
20 | | -{% include calendar-day.ics date=day3_date events=day3_events %} |
| 18 | +{%- assign day3_date = site.data.conf.days[3].date-data | date: "%Y%m%d" -%} |
| 19 | +{%- assign day3_events = site.data.schedule | where: "day3", true | where: "livestream", include.livestream -%} |
| 20 | +{%- include calendar-day.ics date=day3_date events=day3_events -%} |
21 | 21 | END:VCALENDAR |
0 commit comments