forked from ruby-conferences/ruby-conferences.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalendar.ics
More file actions
20 lines (20 loc) · 750 Bytes
/
calendar.ics
File metadata and controls
20 lines (20 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
layout: null
---
BEGIN:VCALENDAR
VERSION:2.0
PRODID:https://rubyconferences.org/
METHOD:PUBLISH
{% for event in site.data.conferences %}
BEGIN:VEVENT
UID:{{ event.start_date | date: "%Y%m%d" | append: event.name }}@rubyconferences.org
SUMMARY:{{ event.name }}
LOCATION:{{ event.location | replace: ",", "\\," }}
DESCRIPTION:{% if event.twitter %}Twitter:\nhttps://twitter.com/{{ event.twitter }}\n{% endif %}{% if event.mastodon %}\nMastodon:\n{{ event.mastodon }}{% endif %}{% if event.video_link %}\nVideo Link:\n{{ event.video_link }}\n{% endif %}
CLASS:PUBLIC
URL:{{ event.url }}
DTSTART;VALUE=DATE:{{ event.start_date | date: "%Y%m%d" }}
DTEND;VALUE=DATE:{{ event.end_date | date: "%Y%m%d" | plus: 1 }}
END:VEVENT
{% endfor %}
END:VCALENDAR