diff --git a/themes/nluug/layouts/evenementen/event-talk.html b/themes/nluug/layouts/evenementen/event-talk.html index 3a6a1c4..4f4880d 100644 --- a/themes/nluug/layouts/evenementen/event-talk.html +++ b/themes/nluug/layouts/evenementen/event-talk.html @@ -14,12 +14,16 @@ {{ end }} - {{ if .Params.presentation.filename }} + {{ if isset .Params "presentation" }}

Presentatie

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