We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a10a6b0 + 0e563bf commit af2cb1dCopy full SHA for af2cb1d
assets/calendar.ics
@@ -0,0 +1,23 @@
1
+---
2
+layout: null
3
+permalink: /calendar.ics
4
5
+BEGIN:VCALENDAR
6
+VERSION:2.0
7
+PRODID:-//TriangleBitDevs.org//Event Calendar//EN
8
+CALSCALE:GREGORIAN
9
+
10
+{% assign events = site.posts | where: "add_to_calendar", true %}
11
+{% for event in events %}
12
+BEGIN:VEVENT
13
+UID:{{ event.id }}
14
+DTSTAMP:{{ "now" | date: "%Y%m%dT%H%M%SZ" }}
15
+DTSTART:{{ event.start | date: "%Y%m%dT%H%M%SZ" }}
16
+DTEND:{{ event.end | date: "%Y%m%dT%H%M%SZ" }}
17
+SUMMARY:{{ event.title | escape }}
18
+DESCRIPTION:{{ event.description | strip_newlines | escape }}
19
+LOCATION:{{ event.location | escape }}
20
+END:VEVENT
21
+{% endfor %}
22
23
+END:VCALENDAR
0 commit comments