2023-05-22 11:46:50 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
<div>{{ .Content }}</div>
|
|
|
|
|
2023-06-07 09:57:24 +02:00
|
|
|
|
2023-06-07 15:12:58 +02:00
|
|
|
{{ if .Params.speakers }}
|
2023-06-07 09:57:24 +02:00
|
|
|
<div>
|
2023-06-07 15:12:58 +02:00
|
|
|
{{ $count := .Params.speakers | len }}
|
2023-06-07 09:57:24 +02:00
|
|
|
<h2>{{ i18n "speaker" (dict "Count" $count) | strings.FirstUpper }}</h2>
|
2023-11-02 10:05:14 +01:00
|
|
|
<section>
|
|
|
|
{{ .Scratch.Set "related_speakers" .Params.speakers }}
|
|
|
|
{{ partial "show-speakers-small.html" . }}
|
|
|
|
</section>
|
2023-06-07 09:57:24 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
2023-06-17 22:43:55 +02:00
|
|
|
{{ if isset .Params "presentation" }}
|
2023-06-06 20:47:46 +02:00
|
|
|
<h2>Presentatie</h2>
|
2023-06-17 22:43:55 +02:00
|
|
|
{{ if .Params.presentation.filename }}
|
|
|
|
{{ if findRE `.pdf$` .Params.presentation.filename 1 }}
|
2023-06-24 00:49:31 +02:00
|
|
|
{{ partial "show-svg-icon.html" (dict "context" . "icon" "file-pdf" "alt" "PDF-icoon") }}
|
2023-06-17 22:43:55 +02:00
|
|
|
<a href="/bestanden/presentaties/{{ .Params.presentation.filename }}">Presentatie</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ else if .Params.presentation.link }}
|
|
|
|
<a href="{{ .Params.presentation.link }}" rel="nofollow">Presentatie (externe link)</a>
|
2023-06-05 20:09:55 +02:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
2023-06-06 20:47:46 +02:00
|
|
|
{{ if .Params.recording.url }}
|
|
|
|
<h2>Opname</h2>
|
2023-05-22 11:46:50 +02:00
|
|
|
{{ if .Params.recording.platform }}
|
2023-06-24 00:49:31 +02:00
|
|
|
{{ if eq .Params.recording.platform "youtube" }}{{ partial "show-svg-icon.html" (dict "context" . "icon" "youtube" "alt" "YouTube-icoon") }}{{ end }}
|
2023-05-22 11:46:50 +02:00
|
|
|
{{ end }}
|
2023-06-06 20:47:46 +02:00
|
|
|
<a href="{{ .Params.recording.url }}">Bekijk opname</a>
|
2023-05-22 11:46:50 +02:00
|
|
|
{{ end }}
|
|
|
|
|
2023-06-07 09:57:24 +02:00
|
|
|
|
2023-05-22 11:46:50 +02:00
|
|
|
{{ end }}
|