-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hugo 0.119 no longer builds - issue with js html template parsing #11507
Comments
Hey @bep, I noticed this has the upstream tag on it - do you know what upstream project I should raise an issue with and chase it there to try and reduce the number of things to keep track of by the hugo team? :) |
This might be resolved in Go 1.22 with https://go-review.googlesource.com/c/go/+/507995 (merged 2 Oct 2023). |
Note that we run with a "soft fork" of Go's template packages, so if this is merged upstream and is important enough for us, we could consider pulling this in before Go 1.22 gets released. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yup
What is the issue?
Since upgrading to 0.119, my site no longer builds. I spent some time deleting things out to come to a reproducible HTML template.
This
list.html
template works with 0.119:This
list.html
does not:My site builds some reactivity in the front end up using
arrow.js
and Hugo simply populats a big old JSON object to use. It seems like nested js HTML templates are no longer allowed in the validation, which means I'll need to roll back until that's supported. @jmooring directed me to this backend ticket: https://go-review.googlesource.com/c/go/+/507995The text was updated successfully, but these errors were encountered: