This PR fixes 2 quirks in jekyll's liquid error reporting, specifically which file the error occured on:
Sorry for not testing this before opening #1596, but I had no ruby install available. It's tested this time, for both cases.
//cc @IQAndreas, @mattr-
Move catching of liquid errors in include tags
The previous code only caught render-time errors. This change
makes it catch parse-time errors as well, such as unknown tags.
output correct path in case of liquid error in layout
As with includes, an error in a layout was reported on the
page that used the layout. Fix this by passing on the path
of the layout that is rendered.
Great catch! Thanks!
Awesome. Thanks! ❤️
Update history to reflect merge of #1601