www/layouts/page/single.ics

43 lines
970 B
Plaintext
Raw Normal View History

{{if isset .Params "rrule"}}BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//cccb//datengarten calendar//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN="CCCB":mailto:mail@berlin.ccc.de
SUMMARY:{{.Title}}
UID:{{lower (replace .Title " " "")}}@berlin.ccc.de
SEQUENCE:0
STATUS:CONFIRMED
DTSTAMP:20180508T200000Z
DTSTART;TZID=Europe/Berlin:{{.Params.dtstart}}
DTEND;TZID=Europe/Berlin:{{.Params.dtend}}
RRULE:{{.Params.rrule}}
{{if isset .Params "rrule_excludes" }}
{{range .Params.rrule_excludes }}
2023-06-13 12:47:07 +02:00
EXDATE;TZID=Europe/Berlin:{{.}}
{{end -}}
{{end -}}
LOCATION:{{with .Params.location}}{{.}}{{else}}CCCB{{end}}
URL:{{.Permalink}}
2018-07-19 21:51:03 +02:00
DESCRIPTION:{{.Permalink}}
END:VEVENT
END:VCALENDAR
{{end -}}