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
.Page.Resources.GetMatch returns nil when the image file name ends with .en.png
#12076
Comments
.en.png
Please provide image render hook code. |
Hi @jmooring , thanks for your reply. Here it is.
|
We could (should) apply the same fallback check as we do in But I suspect that this would be more correct:
|
Same as we do in .Get. Fixes gohugoio#12076
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?
Yes
After upgraded to latest v0.123.0, I can't build my site successfully, the error message is:
I found if I rename the image file name from
cover.en.png
tocover_en.png
(along with its reference in markdown), then the error will disappear.The text was updated successfully, but these errors were encountered: