42 lines
974 B
Plaintext
42 lines
974 B
Plaintext
{{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 }}
|
|
EXDATE;TZID=Europe/Berlin:{{dateFormat "20060102T150405" . }}
|
|
{{end -}}
|
|
{{end -}}
|
|
LOCATION:{{with .Params.location}}{{.}}{{else}}CCCB{{end}}
|
|
URL:{{.Permalink}}
|
|
END:VEVENT
|
|
END:VCALENDAR
|
|
{{end -}}
|