2022-04-04 11:21:48 +02:00
|
|
|
{{ $nr := index .Params 0 }}
|
|
|
|
{{ $alt := "sry_no_desc" }}
|
|
|
|
{{ if index .Params 1}}{{ $alt = index .Params 1 }}{{ end }}
|
|
|
|
{{- $pic := index ($.Page.Resources.ByType "image") $nr -}}
|
2022-04-05 20:58:02 +02:00
|
|
|
<a href="{{- $pic.Permalink -}}"><img src="{{- $pic.Permalink -}}" alt="{{ $alt }}" /></a>
|