diff options
Diffstat (limited to 'layouts/shortcodes/image.html')
-rw-r--r-- | layouts/shortcodes/image.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html index 2677b2c..d538fde 100644 --- a/layouts/shortcodes/image.html +++ b/layouts/shortcodes/image.html @@ -43,6 +43,7 @@ loading="lazy" > </a> + {{ if not (strings.Contains $caption "noop") }} <figcaption> {{ $caption }} @@ -50,5 +51,6 @@ <a href="{{ $source }}" target="_blank" title="source">[source]</a> {{ end }} </figcaption> + {{ end }} </figure> |