gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
75.38k stars 7.49k forks source link

Images from "branch bundle" are not available for _index.md in 0.123.2 #12140

Closed KOT-OPET closed 7 months ago

KOT-OPET commented 7 months ago

Hello, I've been using Hugo and Render.com deployment for my site for a month. Recently Render.com updated its Hugo package, which resulted in build errors.

This is a fragment from _index.md of /customshop/:

![](zander.jpg)
...
![](colossus.jpg)

Those images are in the same directory as _index.md on my local machine, as well as on my Github repo.

Screenshot 2024-02-24 at 13 51 07

My local version builds flawlessly.

However, the newer version of Hugo results in build error:

ERROR Image zander.jpg is missing and not external for page customshop/_index.md
ERROR Image colossus.jpg is missing and not external for page customshop/_index.md

What version of Hugo are you using (hugo version)?

Does this issue reproduce with the latest release?

Not sure; there's no mention of this bug in 0.123.3 changelog, so I assume it's still there.

bep commented 7 months ago

Bug reports needs to be very specific for us to be able to look at it and fix it, the best is a runnable example. We have thousands of automated test cases and we, the Hugo maintainers, use hugo daily, so any bug reported will be about a corner case that we somehow didn't think about.

KOT-OPET commented 7 months ago

Understood. I opened my repo for you: https://github.com/KOT-OPET/ebgdae

Keep in mind this is a pretty big project, so you probably would want to delete everything from /content/ folder except /content/customshop/ on your copy. Otherwise the build time would be enormous, given there would be no pre-rendered assets.

jmooring commented 7 months ago

@KOT-OPET It would be even easier if you were to clone your repo, removing everthing that isn't required to reproduce the issue. Access to a repo is helpful; a minimal reproducible example is even better!

jmooring commented 7 months ago

Your site uses hyas, which is very complex; we're not going to troubleshoot that.

Please raise your question here:

KOT-OPET commented 7 months ago

Got it! Sorry to bother you and thanks for the quick response

github-actions[bot] commented 7 months ago

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.