hugo/parser
Bjørn Erik Pedersen f669ef6bec
herrors: Improve handling of JSON errors
`*json.UnmarshalTypeError` and `*json.SyntaxError` has a byte `Offset`, so use that.

This commit also reworks/simplifies the errror line matching logic. This also makes the file reading unbuffered, but that should be fine in this error case.

See #5324
2018-10-23 14:35:43 +02:00
..
metadecoders herrors: Improve handling of JSON errors 2018-10-23 14:35:43 +02:00
pageparser hugolib: Continue the file context/line number errors work 2018-10-22 20:46:14 +02:00
frontmatter.go Convert the rest to new page parser code paths 2018-10-22 20:46:14 +02:00
frontmatter_test.go Convert the rest to new page parser code paths 2018-10-22 20:46:14 +02:00