hugo/commands
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
..
benchmark.go Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
check.go
check_darwin.go
commandeer.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
commands.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
commands_test.go commands: Remove deprecated flags 2018-09-21 14:27:35 +02:00
config.go Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
convert.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
env.go
gen.go
genautocomplete.go
genchromastyles.go
gendoc.go
gendocshelper.go
genman.go
helpers.go
helpers_others.go
helpers_windows.go
hugo.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
hugo_windows.go Update hugo_windows.go 2018-07-22 00:09:46 +02:00
import_jekyll.go commands: Fix golint issues 2018-09-07 08:25:51 +02:00
import_jekyll_test.go
limit_darwin.go
limit_others.go
list.go Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
new.go commands: Add help text to "hugo new" 2018-10-15 17:48:19 +02:00
new_content_test.go Add directory based archetypes 2018-09-23 19:27:23 +02:00
new_site.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
new_theme.go Create missing head.html partial on new theme generation 2018-06-25 12:06:45 -06:00
release.go
release_noop.go
server.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
server_errors.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
server_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
static_syncer.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
version.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00