diff --git a/themes/nluug/layouts/evenementen/schedule-event.html b/themes/nluug/layouts/evenementen/schedule-event.html index 1721ca2..97a840d 100644 --- a/themes/nluug/layouts/evenementen/schedule-event.html +++ b/themes/nluug/layouts/evenementen/schedule-event.html @@ -5,8 +5,7 @@ {{ if isset .Params "event_start" }} {{ $event_start := .Params.event_start | time }} -
- +

Locatie

{{ .Params.event_location }}

{{ .Params.event_address.street_address }}
{{ .Params.event_address.postal_code }}, {{ .Params.event_address.city }}
{{ .Params.event_address.country_name }}

@@ -40,6 +39,11 @@

Waarschuwing: dit evenement mist gegevens zoals start en einddatum.

{{ end }} + +

Programma

{{ $.Scratch.Set "counter" 0 }} @@ -104,7 +108,7 @@
{{ else }} -

Waarschuwing: dit project is niet goed geconfigureerd in de front matter.

+

Waarschuwing: dit conferentieprogramma is niet goed geconfigureerd in de front matter.

{{ end }} {{ end }} diff --git a/themes/nluug/layouts/evenementen/single.ics b/themes/nluug/layouts/evenementen/single.ics index e50d86a..5cd2bb9 100644 --- a/themes/nluug/layouts/evenementen/single.ics +++ b/themes/nluug/layouts/evenementen/single.ics @@ -21,19 +21,10 @@ 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 }} +SUMMARY:{{ .Params.event_title | default .Title }} +DESCRIPTION:Voor meer informatie zie {{ .Permalink }} DTSTART;TZID=Europe/Amsterdam:{{ dateFormat "20060102T150405" .Params.event_start }} DTEND;TZID=Europe/Amsterdam:{{ dateFormat "20060102T150405" .Params.event_end }} {{ if .Params.event_address }}LOCATION:{{ .Params.event_address.street_address }}, {{ .Params.event_address.city }}, {{ .Params.event_address.country_name }}{{ end }} -{{ else }} -SUMMARY:{{ index .Params.Properties.name 0 }} -{{ with .Params.Properties.url }} -DESCRIPTION: Voor meer informatie zie {{ index . 0 }}. -{{ else }} -DESCRIPTION: Voor meer informatie zie {{ .Site.Params.LiveSiteUrl }}{{ .Permalink }} -{{ end }} -{{ with .Params.Properties.location }}LOCATION:{{ index . 0 }}{{ end }} END:VEVENT -END:VCALENDAR -{{ end }}{{ end }} +END:VCALENDAR{{ end }}{{ end }}