hugo/resources/images
Bjørn Erik Pedersen f2946da9e8 Improve error messages, esp. when the server is running
* Add file context to minifier errors when publishing
* Misc fixes (see issues)
* Allow custom server error template in layouts/server/error.html

To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of https://github.com/pkg/errors/issues/223 -- but also because most of this is now built-in to Go.

Fixes #9852
Fixes #9857
Fixes #9863
2022-05-06 19:43:22 +02:00
..
exif Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
webp all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
color.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
color_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
config.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
config_test.go resources/images: Require width and height for Crop, Fill, and Fit 2022-03-20 19:44:41 +01:00
filters.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
filters_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
image.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
image_resource.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
overlay.go images: Add images.Overlay filter 2020-12-17 09:14:18 +01:00
resampling.go Add a set of image filters 2019-08-28 15:59:54 +02:00
smartcrop.go resources/image: Fix fill with smartcrop sometimes returning 0 bytes images 2021-06-17 23:52:27 +02:00
text.go Add custom font support to images.Text 2021-12-07 16:53:02 +01:00