diff --git a/layouts/shortcodes/datengarten-infobox.html b/layouts/shortcodes/datengarten-infobox.html index 7eadb65..e10c69d 100644 --- a/layouts/shortcodes/datengarten-infobox.html +++ b/layouts/shortcodes/datengarten-infobox.html @@ -1,5 +1,9 @@

+{{ if isset .Page.Params "speaker_url" }} + {{ .Page.Params.Speaker }}
+{{ else }} {{ .Page.Params.Speaker }}
+{{ end }} {{ dateFormat "02.01.2006, 15:04" .Page.Params.Event_date }} Uhr
{{ .Page.Params.Language }}
{{ partial "location" .Page.Params.Location }} diff --git a/layouts/shortcodes/series.html b/layouts/shortcodes/series.html index 822230d..a6238c4 100644 --- a/layouts/shortcodes/series.html +++ b/layouts/shortcodes/series.html @@ -12,7 +12,11 @@ {{ $art.Params.no }} {{ dateFormat "02.01.2006" $art.Params.event_date }} + {{ if isset $art.Params "speaker_url" }} + {{ $art.Params.speaker }} + {{ else }} {{ $art.Params.speaker }} + {{ end }} {{ $art.Params.subtitle }} {{ if $art.Params.recording }}