hugo/tpl/tplimpl
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
..
embedded tpl: Use .Lastmod in embedded schema template 2018-10-16 11:52:32 +02:00
ace.go Fix broken shortcodes for Ace and Amber 2017-11-18 10:41:31 +01:00
amber_compiler.go tpl/tplimpl: Fix compiling Amber templates that import other templates 2018-08-17 10:04:07 +02:00
template.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
template_ast_transformers.go tpl/tplimpl: Fix .Site.Params case regression 2018-08-19 14:30:37 +02:00
template_ast_transformers_test.go tpl/tplimpl: Fix .Site.Params case regression 2018-08-19 14:30:37 +02:00
template_errors.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
template_funcs.go tpl/partials: Add templates.Exists 2018-07-31 13:28:15 +02:00
template_funcs_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
template_test.go Add Hugo Piper with SCSS support and much more 2018-07-06 11:46:12 +02:00
templateFuncster.go Add Hugo Piper with SCSS support and much more 2018-07-06 11:46:12 +02:00
templateProvider.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00