diff --git a/themes/openpowerfoundation/layouts/shortcodes/image.html b/themes/openpowerfoundation/layouts/shortcodes/image.html index 4225d9e..dfb08f6 100644 --- a/themes/openpowerfoundation/layouts/shortcodes/image.html +++ b/themes/openpowerfoundation/layouts/shortcodes/image.html @@ -12,4 +12,9 @@ {{ $imageprocessing := (printf "%sx%s %s" $width $height "webp") }} {{ $image := $imageresource.Fit $imageprocessing }} +{{ with .Get "caption" }} +
+{{ . }} +
+{{ end }}