Closed Houndie closed 4 years ago
Thanks for catching this. As mentioned this feels like a regression from a first look especially during a Hugo patch release. Let's wait for a response from Hugo and happy to dive into any possible fixes once we know more.
According to the hugo devs, hugo 0.71.1 now catches a construct that always "illegal" but was let slide. I submitted a PR above that fixes the offending template.
Is this a BUG REPORT or FEATURE REQUEST?: bug
What happened: Attempting to build site with syna theme with hugo v0.71.1 results in error message:
What you expected to happen: Site builds correctly
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?: Works fine with hugo v0.71.0. Unsure if this is syna doing something it shouldn't or this is a regression on hugo's side. Scanning through the code in the latest changelog, and looking at the error message, it seems like it's related to these changes. (that link may not link correctly due to github not wanting to render the diff by default, look for file " tpl/internal/go_templates/texttemplate/funcs.go")
Probably going to open an issue with hugo as well given that it seems like a regression on their side.
Environment:
sha 5bbd985
0.71.1