1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-21 10:21:05 +00:00
hugo/tpl
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 
Fixes 
See 
See 
2018-10-16 22:10:56 +02:00
..
cast
collections commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
compare
crypto
data commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
encoding
fmt commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
images
inflect
internal tpl: Fix golint godoc issues 2018-09-07 08:25:51 +02:00
lang tpl: Add a delimiter parameter to lang.NumFmt 2018-10-02 17:41:48 +03:00
math
os Remove alias of os.Stat 2018-08-06 09:54:26 +02:00
partials commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
path tpl/collections: Add collections.Append 2018-09-14 10:12:08 +02:00
resources commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
safe
strings commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
templates tpl/partials: Add templates.Exists 2018-07-31 13:28:15 +02:00
time
tplimpl commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
transform
urls commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
template.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
template_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00