mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 17:11:47 +00: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 |
||
---|---|---|
.. | ||
testdata | ||
image.go | ||
image_cache.go | ||
image_test.go | ||
resource.go | ||
resource_test.go | ||
smartcrop.go | ||
testhelpers_test.go |