diff --git a/themes/nluug/layouts/evenementen/list.html b/themes/nluug/layouts/evenementen/list.html
new file mode 100644
index 0000000..8e67086
--- /dev/null
+++ b/themes/nluug/layouts/evenementen/list.html
@@ -0,0 +1,15 @@
+{{ define "main" }}
+
+ {{ range .Pages }}
+
+
+ {{ if isset .Params "event_start" }}
+
+ {{ end }}
+
{{ .Params.event_address.street_address }}
{{ .Params.event_address.postal_code }}, {{ .Params.event_address.city }}
{{ .Params.event_address.country_name }}
Dit evenement is al afgelopen, inschrijven is daarom niet meer mogelijk.
{{ end }} {{ end }} + +Zet het event alvast in je agenda met onderstaande opties!
+Waarschuwing: dit evenement mist gegevens zoals start en einddatum.
{{ end }} diff --git a/themes/nluug/layouts/evenementen/single.ics b/themes/nluug/layouts/evenementen/single.ics index 2dbd8eb..38ca89e 100644 --- a/themes/nluug/layouts/evenementen/single.ics +++ b/themes/nluug/layouts/evenementen/single.ics @@ -1,6 +1,25 @@ {{ if not (isset .Params "no-ics-file") }}BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN +METHOD:PUBLISH +BEGIN:VTIMEZONE +TZID:Europe/Amsterdam +X-LIC-LOCATION:Europe/Amsterdam +BEGIN:DAYLIGHT +TZOFFSETFROM:+0100 +TZOFFSETTO:+0200 +TZNAME:CEST +DTSTART:19700329T020000 +RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU +END:DAYLIGHT +BEGIN:STANDARD +TZOFFSETFROM:+0200 +TZOFFSETTO:+0100 +TZNAME:CET +DTSTART:19701025T030000 +RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU +END:STANDARD +END:VTIMEZONE BEGIN:VEVENT SUMMARY:{{ .Title }} DESCRIPTION:{{ trim (.Content | plainify) "\n" }} Voor meer informatie zie {{ .Site.Params.LiveSiteUrl }}{{ .Permalink }}