diff --git a/layouts/partials/shortcodes/image.html b/layouts/partials/shortcodes/image.html index 81fc264709..afcdf1e75b 100644 --- a/layouts/partials/shortcodes/image.html +++ b/layouts/partials/shortcodes/image.html @@ -20,10 +20,6 @@ {{- if $dest_url.RawQuery }} {{- $url = printf "%s?%s" $url $dest_url.RawQuery }} {{- end }} - {{- if ne $image.MediaType.SubType "svg" }} - {{- $height = printf "%dpx" $image.Height }} - {{- $width = printf "%dpx" $image.Width }} - {{- end }} {{- end }} {{- if $dest_url.RawQuery }} {{- $classes = (replaceRE "\\s+" " " (replaceRE "," " " ($dest_url.Query.Get "classes") ) ) }}