{{ $path := "/images/" }} {{ $filename := .Get "filename" }} {{ with $.Site.Params.imagespath }} {{ $path := ( . ) }}{{ end }}