Toevoegen optie om te linken naar een externe presentatie
This commit is contained in:
parent
8d3ba01f7f
commit
ce224a7d37
|
@ -14,13 +14,17 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.presentation.filename }}
|
||||
{{ if isset .Params "presentation" }}
|
||||
<h2>Presentatie</h2>
|
||||
{{ if .Params.presentation.filename }}
|
||||
{{ 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 }}
|
||||
{{ else if .Params.presentation.link }}
|
||||
<a href="{{ .Params.presentation.link }}" rel="nofollow">Presentatie (externe link)</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.recording.url }}
|
||||
<h2>Opname</h2>
|
||||
|
|
Reference in a new issue