forked from mmistakes/minimal-mistakes
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathevents.ics
24 lines (24 loc) · 1.01 KB
/
events.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
---
layout:
_source: https://gist.github.com/woodworker/6725728
permalink: /events.ics
---
BEGIN:VCALENDAR
VERSION:2.0
PRODID:http://www.beta-europe.org/
METHOD:PUBLISH
{% assign sortedconfs = site.conferences | sort: 'year' | reverse %}
{% for event in sortedconfs %}BEGIN:VEVENT
UID:{{ event.slug }}@beta-europe.org
ORGANIZER;CN="{% if event.partner-slug %}{% assign partner = site.partners | where: 'slug', event.partner-slug | first %}{{ partner.title }}{% else %}{{ event.title }} Team{% endif %}":MAILTO:{% if event.mail %}{{ event.mail }}{% else %}{{ site.author.email }}{% endif %}
LOCATION:{{ event.town }}{% if event.geo %}
GEO:{{ event.geo | split: "," | join: ";" }}{% endif %}
SUMMARY:{{ event.title }}
DESCRIPTION:More Information at {{ event.url | absolute_url }}
URL:{{ event.url | absolute_url }}
CLASS:PUBLIC
DTSTART:{{ event.begin | date: "%Y%m%dT%H%M%SZ" }}
DTEND:{{ event.end | date: "%Y%m%dT%H%M%SZ" }}
DTSTAMP:{{ event.begin | date: "%Y%m%dT%H%M%SZ" }}
END:VEVENT
{% endfor %}END:VCALENDAR