hugo/tpl
Bjørn Erik Pedersen 2d7709d155 tpl: Handle truncated identifiers in Go template errors
Long identifiers will give errors on the format:

```bash
 _default/single.html:5:14: executing "main" at <.ThisIsAVeryLongTitl...>: can't evaluate field ThisIsAVeryLongTitle
```

Hugo use this value to match the "base template or not", so we need to strip the "...".

Fixes #5346
2018-10-24 13:54:04 +02:00
..
cast
collections Run gofmt -s 2018-10-24 00:12:32 +02:00
compare
crypto
data Resolve error handling/parser related TODOs 2018-10-23 19:41:22 +02:00
encoding tpl: Update Jsonify to return pretty-print output 2018-10-21 23:36:35 +02:00
fmt commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
images
inflect
internal
lang tpl: Add a delimiter parameter to lang.NumFmt 2018-10-02 17:41:48 +03:00
math
os
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
time
tplimpl Run gofmt -s 2018-10-24 00:12:32 +02:00
transform Convert the rest to new page parser code paths 2018-10-22 20:46:14 +02:00
urls commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
template.go tpl: Handle truncated identifiers in Go template errors 2018-10-24 13:54:04 +02:00
template_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00