mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 00:13:22 -05:00
ba94abbf5d
The validation of if we could process the image (resize etc.) was moved up in Hugo 0.37, which meant SVG and other "non-processable" images would fail. This commit fixes that by creating a regular resource for these image formats. They will not have `.Resize` or any of the other image methods. Fixes #4455
5 lines
No EOL
172 B
XML
5 lines
No EOL
172 B
XML
<svg height="100" width="100">
|
|
<circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
|
|
Sorry, your browser does not support inline SVG.
|
|
</svg>
|
|
|