From 87b8921c3431ab1a8a471d3144645f19633f016b Mon Sep 17 00:00:00 2001 From: Frieder Griesshammer Date: Fri, 17 Sep 2021 16:31:25 +0200 Subject: [PATCH] Change 'event_weekly' shortcode display to a definition list - looks far better than a table - is not dependent to selected theme --- layouts/shortcodes/event_weekly.html | 83 ++++++++++------------------ 1 file changed, 28 insertions(+), 55 deletions(-) diff --git a/layouts/shortcodes/event_weekly.html b/layouts/shortcodes/event_weekly.html index 5a9195d..eee905a 100644 --- a/layouts/shortcodes/event_weekly.html +++ b/layouts/shortcodes/event_weekly.html @@ -10,59 +10,32 @@ {{- $interval := $.Page.Param "event.weekly.interval" }} {{- $annotation := $.Page.Param "event.weekly.annotation" }}

-
-
-
-
- - - - - - - - - - - - - - - -
- Wochentag - - von - - bis -
- Jeden - {{ with $interval }} - {{ . }} - {{ $weekday }} - im Monat - {{ else }} - {{ $weekday }} - {{ end }} - {{ with $annotation }} -
- - ({{ . }}) - - {{ end }} -
- {{ $begin }} - Uhr - - {{ with $finish }} - {{ . }} - Uhr - {{ else }} - open end - {{ end }} -
-
-
-
-
+
+
Wochentag
+
+ Jeden + {{- with $interval }} + {{ . }} {{ $weekday }} im Monat + {{- else }} + {{ $weekday }} + {{- end }} +
+ {{- with $annotation }} +
+ ({{ . }}) +
+ {{- end }} +
von
+
+ {{ $begin }} Uhr +
+
bis
+
+ {{- with $finish }} + {{ . }} Uhr + {{- else }} + open end + {{- end }} +
+