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 Properly handle -DEV suffix when comparing Hugo versions 2018-02-22 17:16:42 +01:00
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 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 Add a newScratch template func 2018-07-06 17:51:38 +02:00
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 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