diff --git a/wowchemy/layouts/shortcodes/figure.html b/wowchemy/layouts/shortcodes/figure.html index 30010ae7..74eb7f47 100644 --- a/wowchemy/layouts/shortcodes/figure.html +++ b/wowchemy/layouts/shortcodes/figure.html @@ -27,7 +27,8 @@
{{- if $img -}} {{ $isSVG := eq $img.MediaType.SubType "svg" }} - {{ if $isSVG -}} + {{ $isGIF := eq $img.MediaType.SubType "gif" }} + {{ if $isSVG | or $isGIF -}}