hugo/resources/page
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
..
page_generate Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
pagemeta
integration_test.go Make string sorting (e.g. ByTitle, ByLinkTitle and ByParam) language aware 2022-04-12 13:24:16 +02:00
page.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
page_author.go
page_data.go
page_data_test.go
page_kinds.go
page_kinds_test.go
page_lazy_contentprovider.go
page_marshaljson.autogen.go
page_matcher.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
page_matcher_test.go Localize all the GroupBy*Date methods 2022-04-05 16:11:11 +02:00
page_nop.go resources: Add more details to .Err 2022-03-25 16:40:36 +01:00
page_outputformat.go
page_paths.go
page_paths_test.go
page_wrappers.autogen.go
pagegroup.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
pagegroup_test.go
pages.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
pages_cache.go
pages_cache_test.go
pages_language_merge.go
pages_prev_next.go
pages_prev_next_test.go
pages_related.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
pages_related_test.go
pages_sort.go Make string sorting (e.g. ByTitle, ByLinkTitle and ByParam) language aware 2022-04-12 13:24:16 +02:00
pages_sort_search.go
pages_sort_search_test.go
pages_sort_test.go Localize all the GroupBy*Date methods 2022-04-05 16:11:11 +02:00
pages_test.go
pagination.go
pagination_test.go
permalinks.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
permalinks_test.go
site.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
testhelpers_test.go Localize all the GroupBy*Date methods 2022-04-05 16:11:11 +02:00
weighted.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
zero_file.autogen.go