{{ $path := "/images/" }} {{ with $.Site.Params.imagespath }} {{ $path := ( . ) }}{{ end }}
{{ with .Get "title" }}
{{ . }}
{{ end }} {{ with .Get "link"}}{{ end }} {{ if .Get "link"}}{{ end }} {{ with .Get "caption"}}
{{ . }}
{{ end }}