hugo/commands
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
..
commandeer.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
commands.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
commands_test.go Revert "Revert "Fix PostProcess regression for hugo server"" 2022-04-18 19:17:27 +02:00
config.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
convert.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
deploy.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
env.go
gen.go
genchromastyles.go
gendoc.go commands: Change link protocol to https 2022-03-25 15:29:50 +01:00
gendocshelper.go
genman.go
helpers.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
hugo.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
hugo_test.go Fix syncing of /static regression 2022-04-18 19:17:27 +02:00
hugo_windows.go
import_jekyll.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
import_jekyll_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
limit_darwin.go
limit_others.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
list.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
list_test.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
mod.go
mod_npm.go
new.go
new_content_test.go
new_site.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
new_theme.go
nodeploy.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
release.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
release_noop.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
server.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
server_errors.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
server_test.go Revert "Revert "Fix PostProcess regression for hugo server"" 2022-04-18 19:17:27 +02:00
static_syncer.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
version.go