This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website/themes/nluug/layouts/evenementen/event-talk.html

22 lines
739 B
HTML
Raw Normal View History

2023-05-22 11:46:50 +02:00
{{ define "main" }}
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
<div>{{ .Content }}</div>
{{ if .Params.presentation.filename }}
<h2>Presentatie</h2>
{{ if findRE `.pdf$` .Params.presentation.filename 1 }}
{{ partial "show-svg-icon.html" (dict "context" . "icon" "file-pdf") }}
{{ end }}
<a href="/bestanden/presentaties/{{ .Params.presentation.filename }}">Presentatie</a>
{{ end }}
{{ if .Params.recording.url }}
<h2>Opname</h2>
2023-05-22 11:46:50 +02:00
{{ if .Params.recording.platform }}
{{ if eq .Params.recording.platform "youtube" }}{{ partial "show-svg-icon.html" (dict "context" . "icon" "youtube") }}{{ end }}
2023-05-22 11:46:50 +02:00
{{ end }}
<a href="{{ .Params.recording.url }}">Bekijk opname</a>
2023-05-22 11:46:50 +02:00
{{ end }}
{{ end }}