Toevoegen optie om te linken naar een externe presentatie
This commit is contained in:
parent
8d3ba01f7f
commit
ce224a7d37
|
@ -14,12 +14,16 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Params.presentation.filename }}
|
{{ if isset .Params "presentation" }}
|
||||||
<h2>Presentatie</h2>
|
<h2>Presentatie</h2>
|
||||||
{{ if findRE `.pdf$` .Params.presentation.filename 1 }}
|
{{ if .Params.presentation.filename }}
|
||||||
{{ partial "show-svg-icon.html" (dict "context" . "icon" "file-pdf") }}
|
{{ if findRE `.pdf$` .Params.presentation.filename 1 }}
|
||||||
|
{{ partial "show-svg-icon.html" (dict "context" . "icon" "file-pdf") }}
|
||||||
|
<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 }}
|
||||||
<a href="/bestanden/presentaties/{{ .Params.presentation.filename }}">Presentatie</a>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Params.recording.url }}
|
{{ if .Params.recording.url }}
|
||||||
|
|
Reference in a new issue