diff --git a/layouts/shortcodes/blocks/feature.html b/layouts/shortcodes/blocks/feature.html index 39fab4f20bfc3..106e077f46075 100644 --- a/layouts/shortcodes/blocks/feature.html +++ b/layouts/shortcodes/blocks/feature.html @@ -8,7 +8,7 @@ {{ if $imageName }}{{- template "shortcodes-blocks_getimage" (dict "name" $imageName "ctx" . "target" "feature-image") -}}{{ end }} {{- $image := $.Scratch.Get "feature-image" -}}
- {{ with $image }}
{{ .Title }}
{{ end }} + {{ with $image }}
{{ end }}
{{ $.Inner }}