-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Netlify - Error: GetFeaturedImage.html:35:1: parse failed: template: GetFeaturedImage.html:35: function return not defined #306
Comments
Hello, yes we recently introduced a new returning partial. the In the mean time we'll bumb the min version of the theme to .55. Thanks for reporting this. |
I'm facing this exact same problem. Tried @melvinsalas 's workaround, but that gave me this error:
Any pointers? |
It's because the URL is wrong. The 0.73 URL is https://github.com/gohugoio/hugo/releases/download/v0.73.0/hugo_0.73.0_Linux-64bit.tar.gz O the new one 0.74 https://github.com/gohugoio/hugo/releases/download/v0.74.0/hugo_0.74.0_Linux-64bit.tar.gz |
@melvinsalas I changed the env variable to 0.74.0. That worked. Thanks for the help. |
Don't know if this is the best place to post this observation, but here goes: For deploy previews (as opposed to production deploys) Netlify may be using an older version of Hugo. At any rate I found that all of my deploy previews were failing precisely for the reason cited in this Issue, but taking a hint from the comments above I fixed the problem by adding the following to my
|
The Netlify deploy don't work with the last version of the theme since 2 days ago
This is the error
And this is the log
The text was updated successfully, but these errors were encountered: