-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathcalendar.ics
28 lines (28 loc) · 978 Bytes
/
calendar.ics
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
layout: null
permalink: /calendar.ics
---
BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:Community Service Hour call
DESCRIPTION:Community Service Hour call
PRODID:-//Community Service Hour//gg.hour//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
{%- assign episodes = site.episodes | where: "posted", "false" | sort: 'time' %}
{%- for episode in episodes %}
{% assign utc_time = episode.start-time | date: "%s" -%}
BEGIN:VEVENT
UID:{{ episode.guid }}
DTSTAMP:{{ utc_time | date: "%Y%m%dT%H%M%SZ" }}
DTSTART:{{ utc_time | date: "%Y%m%dT%H%M%SZ" }}
{%- assign end_time = utc_time | plus: 3600 %}
DTEND:{{ end_time | date: "%Y%m%dT%H%M%SZ" }}
SUMMARY:Community Service Hour / {{ episode.itunes-episode }} / {{ episode.title | escape }}
DESCRIPTION:Watch live at https://twitch.tv/fulldecent and speak on X Space at https://x.com/fulldecent // episode notes: {{ episode.description | escape }}
URL:{{ episode.enclosure-url }}
STATUS:CONFIRMED
SEQUENCE:0
END:VEVENT
{% endfor -%}
END:VCALENDAR