diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html index 08e80ded..c0ba6b5d 100644 --- a/layouts/shortcodes/image.html +++ b/layouts/shortcodes/image.html @@ -1,16 +1,14 @@ -

{{ if .Get "caption"}}

+{{ else }} +

{{ end }} -{{ .Get +{{ .Get {{ if .Get "caption"}}

{{ .Get "caption" }}
+{{ else }} +

{{ end }} -

\ No newline at end of file