hugo/common
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
..
collections all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
constants Allow getJSON errors to be ignored 2020-10-22 09:09:29 +02:00
herrors Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
hexec all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
hreflect Fix typo 2022-03-22 00:39:33 -06:00
htime all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
hugio Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
hugo releaser: Prepare repository for 0.99.0-DEV 2022-04-28 11:02:45 +00:00
loggers all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
maps resources: Add key to reources.GetRemote options map 2022-04-13 09:18:17 +02:00
math all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
para para: Skip para test when not on CI 2020-12-23 19:47:20 +01:00
paths Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
terminal Fix ANSI character output regression on Windows 2018-11-02 09:09:02 +01:00
text all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
types resources: Create a common ResourceFinder interface 2022-04-05 18:00:44 +02:00
urls all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00