From d16fbbcb8039df3c9a9bc8e6dc45eb2e200a4f9f Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 6 Nov 2024 14:18:14 +0000 Subject: [PATCH] Experiment with embedding video --- themes/nluug/layouts/evenementen/event-talk.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/themes/nluug/layouts/evenementen/event-talk.html b/themes/nluug/layouts/evenementen/event-talk.html index cf00a39..43c9069 100644 --- a/themes/nluug/layouts/evenementen/event-talk.html +++ b/themes/nluug/layouts/evenementen/event-talk.html @@ -25,7 +25,13 @@ {{ end }} {{ end }} - {{ if .Params.recording.url }} + {{ if .Params.recording.embed.link }} +

Opname

+ +

Directe link naar video indien video niet of niet volledig werkt (b.v. geen audio): {{ .Title }}

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

Opname

{{ if .Params.recording.platform }} {{ if eq .Params.recording.platform "youtube" }}{{ partial "show-svg-icon.html" (dict "context" . "icon" "youtube" "alt" "YouTube-icoon") }}{{ end }}