I’m facing some issues with my site since updating to Hugo v0.112.3, specifically with images in my static folder. The live version, built with Hugo v0.111.3, has no issues at all. But, if you build my website with v0.112.3, you’ll notice that some images, specifically the ones stored in static and accessed using an <img> element, are missing (as no found, as if they’re weren’t there, example here: fisiquimicamente/privacy.md at main · rodrigoalcarazdelaosa/fisiquimicamente · GitHub). My language selector in the menu bar also stopped working.
That’s quite strange. I have even removed my local copy and recloned my repo, tried different browsers, cleared caches, but I still can’t see the images:
I was using this script to view my site locally, which has the --renderStaticToDisk flag. If I use just hugo server, everything is fine. In any case, in all previous Hugo updates I’ve been using the same script and had no problems, so maybe with this update and that flag something needs to be done.
rm -rf resources/ public/ && hugo server --renderStaticToDisk
Version
Result
v0.111.3
No missing images on home page
v0.112.3
Some missing images on home page
rm -rf resources/ public/ && hugo server
Version
Result
v0.111.3
No missing images on home page
v0.112.3
No missing images on home page
Trying to deconstruct the Wowchemy modules and your image-heavy site is probably not a good use of my time, so I’ll try the bottom-up approach to get a minimal reproducible example.