hugo/helpers
Bjørn Erik Pedersen 35fbfb19a1
commands: Show server error info in browser
The main item in this commit is showing of errors with a file context when running `hugo server`.

This can be turned off: `hugo server --disableBrowserError` (can also be set in `config.toml`).

But to get there, the error handling in Hugo needed a revision. There are some items left TODO for commits soon to follow, most notable errors in content and config files.

Fixes #5284
Fixes #5290
See #5325
See #5324
2018-10-16 22:10:56 +02:00
..
content.go helpers: Call rst2html directly on *nix 2018-10-11 22:46:10 +02:00
content_renderer.go
content_renderer_test.go
content_test.go
docshelper.go
emoji.go
emoji_test.go
general.go helpers: Fix golint issues 2018-09-07 08:25:51 +02:00
general_test.go
hugo.go releaser: Prepare repository for 0.50-DEV 2018-09-24 10:04:24 +00:00
hugo_test.go
path.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
path_test.go helpers: Consolidate MakeSegment vs MakePathSanitized 2018-10-03 15:55:25 +02:00
pathspec.go
pathspec_test.go
processing_stats.go helpers: Fix golint issues 2018-09-07 08:25:51 +02:00
pygments.go
pygments_test.go
testhelpers_test.go
url.go
url_test.go