From ba0052b53cb747347125c04d233ea5f159cca5ba Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 6 Jun 2023 20:47:46 +0200 Subject: [PATCH] Correcte weergave van presentie en/of filmopname --- .../nluug/layouts/evenementen/event-talk.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/themes/nluug/layouts/evenementen/event-talk.html b/themes/nluug/layouts/evenementen/event-talk.html index 9bfca0d..e4f2277 100644 --- a/themes/nluug/layouts/evenementen/event-talk.html +++ b/themes/nluug/layouts/evenementen/event-talk.html @@ -2,21 +2,20 @@ {{ with .Title }}

{{ . }}

{{ end }}
{{ .Content }}
- {{ if .Params.presentation }} -

Presentatie

- {{ if .Params.presentation.filename }} - Presentatie + {{ if .Params.presentation.filename }} +

Presentatie

+ {{ if findRE `.pdf$` .Params.presentation.filename 1 }} + {{ partial "show-svg-icon.html" (dict "context" . "icon" "file-pdf") }} {{ end }} + Presentatie {{ end }} - {{ if .Params.recording }} -

Opname

+ {{ if .Params.recording.url }} +

Opname

{{ if .Params.recording.platform }} {{ if eq .Params.recording.platform "youtube" }}{{ partial "show-svg-icon.html" (dict "context" . "icon" "youtube") }}{{ end }} {{ end }} - {{ if .Params.recording.url }} - Bekijk opname - {{ end }} + Bekijk opname {{ end }} {{ end }}