diff --git a/events.ics b/events.ics new file mode 100644 index 0000000000000000000000000000000000000000..ee801f34a9450de80ef89008fc7b19044644cc30 --- /dev/null +++ b/events.ics @@ -0,0 +1,18 @@ +--- +layout: none +--- +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:http://www.example.com/ +METHOD:PUBLISH +{% for event in site.events limit:10 %}BEGIN:VEVENT +UID:{{ event.eventdate | date: "%Y%m%d" }}@chaotikum.com +ORGANIZER;CN="Chaotikum e.V.":MAILTO:{{event.contact}} +LOCATION:Chaotikum +SUMMARY:{{ post.short }} +CLASS:PUBLIC +DTSTART:{{ post.eventdate | date: "%Y%m%d" }}T{{ post.eventdate | date: "%H%M%S" }}Z +DTEND:{{ post.eventdate | date: "%Y%m%d" }}T{{ post.eventdate | date: "%H%M%S" }}Z +DTSTAMP:{{ post.eventdate | date: "%Y%m%d" }}T{{ post.eventdate | date: "%H%M%S" }}Z +END:VEVENT{% endfor %} +END:VCALENDAR