fixed ics generation
This commit is contained in:
parent
4068fab565
commit
2b5277a3a0
7 changed files with 98 additions and 56 deletions
|
@ -19,36 +19,20 @@ TZNAME:CET
|
|||
DTSTART:19701025T030000
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
|
||||
{{ range .Pages }}
|
||||
BEGIN:VEVENT
|
||||
ORGANIZER;CN="CCCB":mailto:datengarten@berlin.ccc.de
|
||||
SUMMARY:Datengarten
|
||||
UID: 0@datengarten.berlin.ccc.de
|
||||
SUMMARY:{{ .Title }}{{ with .Params.subtitle }}: {{ . }}{{ end }}
|
||||
UID:{{ .Params.no }}@datengarten.berlin.ccc.de
|
||||
SEQUENCE:0
|
||||
STATUS:CONFIRMED
|
||||
DTSTAMP:20180508T200000Z
|
||||
DTSTART;TZID=Europe/Berlin:20180508T200000
|
||||
DTEND;TZID=Europe/Berlin:20180508T220000
|
||||
RRULE:FREQ=MONTHLY;BYSETPOS=2;BYDAY=TU;INTERVAL=1;UNTIL=20190409T220000
|
||||
{{range .Pages -}}
|
||||
EXDATE;TZID=Europe/Berlin:{{dateFormat "20060102T150405" .Params.event.start}}
|
||||
{{end -}}
|
||||
LOCATION:{{with .Params.location}}{{.}}{{else}}CCCB{{end}}
|
||||
URL:{{.Permalink}}
|
||||
DESCRIPTION:{{.Permalink}}
|
||||
DTSTAMP:{{ dateFormat "20060102T150405Z" .Params.event.start }}
|
||||
DTSTART;TZID=Europe/Berlin:{{ dateFormat "20060102T150405" .Params.event.start }}
|
||||
DTEND;TZID=Europe/Berlin:{{ dateFormat "20060102T150405" .Params.event.end }}
|
||||
LOCATION:{{ with .Params.location }}{{ . }}{{ else }}CCCB{{ end }}
|
||||
URL:{{ .Permalink }}
|
||||
DESCRIPTION:{{ .Permalink }}
|
||||
END:VEVENT
|
||||
{{range .Pages -}}
|
||||
BEGIN:VEVENT
|
||||
ORGANIZER;CN="CCCB":mailto:datengarten@berlin.ccc.de
|
||||
SUMMARY:{{.Title}}{{with .Params.subtitle}}: {{.}}{{end}}
|
||||
UID:{{.Params.no}}@datengarten.berlin.ccc.de
|
||||
SEQUENCE:0
|
||||
STATUS:CONFIRMED
|
||||
DTSTAMP:{{dateFormat "20060102T150405Z" .Params.event.start}}
|
||||
DTSTART;TZID=Europe/Berlin:{{dateFormat "20060102T150405" .Params.event.start}}
|
||||
DTEND;TZID=Europe/Berlin:{{dateFormat "20060102T150405" .Params.event.end}}
|
||||
LOCATION:{{with .Params.location}}{{.}}{{else}}CCCB{{end}}
|
||||
URL:{{.Permalink}}
|
||||
DESCRIPTION:{{.Permalink}}
|
||||
END:VEVENT
|
||||
{{end -}}
|
||||
{{ end }}
|
||||
END:VCALENDAR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue