{{- $intro := $.Page.Param "event.weekly.intro" }} {{- if not $intro }} {{- errorf "missing value for 'event.weekly.intro': %s" .Position }} {{- end }} {{- $weekday := $.Page.Param "event.weekly.weekday" }} {{- if not $weekday }} {{- errorf "missing value for 'event.weekly.weekday': %s" .Position }} {{- end }} {{- $begin := $.Page.Param "event.weekly.begin" }} {{- if not $begin }} {{- errorf "missing value for 'event.weekly.begin': %s" .Position }} {{- end }} {{- $finish := $.Page.Param "event.weekly.finish" }} {{- $interval := $.Page.Param "event.weekly.interval" }} {{- $annotation := $.Page.Param "event.weekly.annotation" }} {{- $link := $.Page.Param "event.weekly.link" }} {{- $remote_url := $.Page.Param "event.weekly.remote_url" }} {{- $remote_reason := $.Page.Param "event.weekly.remote_reason" }}

{{ $intro }}

{{- with $remote_url }}
{{- if eq $remote_reason "covid" }} 🦠︎ {{- end }} Das Event findet {{- if eq $remote_reason "covid" }} aufgrund der Corona-Pandemie {{- end }} virtuell statt:
{{ . }}
{{- end }}
Termin
Jeden {{- with $interval }} {{ . }} {{ $weekday }} im Monat {{- else }} {{ $weekday }} {{- end }}
{{- with $annotation }}
({{ . }})
{{- end }}
von
{{ $begin }} Uhr
bis
{{- with $finish }} {{ . }} Uhr {{- else }} open end {{- end }}

{{- with $link }} Website {{- end }}