{{/* If the file exists and the filename isn't blank, */}} {{ if (and (fileExists (print .Destination)) (not (eq .Destination ""))) }} {{/* Grab the image */}} {{ $image := resources.Get (print (replace .Destination "assets/" "")) }} {{ $placeholder := ($image.Resize "128x q20") | images.Filter (images.GaussianBlur 2) }} {{ .Text }} {{ else }} {{ end }}