{{ if .Params.bigimg }} {{- $image := resources.Get (printf "%s%s" "bigimg/" .Params.bigimg ) -}} {{ if eq $image nil }}