-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Description
When having a SVG in a cta-custom-paragraph like this:
- block: cta-image-paragraph
content:
title: Some title
text: Some text
items:
- title: Some item title
image: pic.svg
text: |
Here is a text description
Youg get the following error because a SVG image doesn't have a Width parameter:
_partials/functions/process_responsive_image.html:142:88: executing "_partials/functions/process_responsive_image.html" at <$image.Width>: error calling Width: this method is only available for raster images.
Error is here on last commit:
| {{- $srcset_parts = $srcset_parts | append (printf "%s %dw" $image.RelPermalink $image.Width) -}} |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels