I tried to use an .svg with the img shortcode and it broke.
Failed to build the site
Reason: Failed to render img shortcode
Reason: Failed to render 'shortcodes/img.html'
Reason: Variable `resized_image.url` not found in context while rendering 'shortcodes/img.html'
Hi there,
I tried to use an
.svg
with theimg
shortcode and it broke.I made a small update to the shortcode to fix it.