hugo/tpl
Bjørn Erik Pedersen 5c96bda70a
errors: Misc improvements
* Redo the server error template
* Always add the content file context if relevant
* Remove some now superflous error string matching
* Move the server error template to _server/error.html
* Add file context (with position) to codeblock render blocks
* Improve JS build errors

Fixes #9892
Fixes #9891
Fixes #9893
2022-05-14 13:40:56 +02:00
..
cast tpl: Improve godoc 2022-05-06 19:43:22 +02:00
collections tpl/collections: Make sort stable 2022-05-08 20:45:54 +02:00
compare Some godoc adjustments 2022-04-23 22:22:50 +02:00
crypto tpl/crypto: Add example for FNV32a 2022-04-28 17:47:17 +02:00
data Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
debug all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
diagrams all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
encoding all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
fmt tpl: Improve godoc 2022-05-06 19:43:22 +02:00
hugo all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
images Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
inflect all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
internal Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
js all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
lang Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
math tpl: Improve godoc 2022-05-06 19:43:22 +02:00
openapi/openapi3 Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
os Replace all usage of CopyOnWriteFs with OverlayFs 2022-04-10 13:49:31 +02:00
partials Revise the use of htime.Since/htime.Now 2022-05-09 14:18:40 +02:00
path all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
reflect all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resources Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
safe tpl: Improve godoc 2022-05-06 19:43:22 +02:00
site all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
strings Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
templates all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
time Use configured timeZone for the clock 2022-05-08 16:56:26 +02:00
tplimpl errors: Misc improvements 2022-05-14 13:40:56 +02:00
transform Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
urls Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
template.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
template_info.go Add --printUnusedTemplates 2022-02-15 20:01:57 +01:00
template_test.go Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00