You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Hugo are you using (hugo version)?
hugo v0.123.3-a75a659f6fc0cb3a52b2b2ba666a81f79a459376+extended linux/amd64 BuildDate=2024-02-23T17:09:20Z VendorInfo=gohugoio
Does this issue reproduce with the latest release?
Yes
After a fix in 0.123.1 relref is still not working correctly. So #12096 was closed only for relrefs with trailing slash, but it doesn't find files now. Seems like a new regression.
Example:
hugo-1 | Watching for changes in /src/{archetypes,content,data,static,themes}
hugo-1 | Watching for config changes in /src/config.yaml
hugo-1 | Start building sites …
hugo-1 | hugo v0.123.3-a75a659f6fc0cb3a52b2b2ba666a81f79a459376+extended linux/amd64 BuildDate=2024-02-23T17:09:20Z VendorInfo=gohugoio
hugo-1 |
hugo-1 | ERROR [en] REF_NOT_FOUND: Ref "/content/blog/20220525-view-from-the-top/index.md": "/src/content/blog/20230911-5-cta/index.md:29:77": page not found
...
hugo-1 | Built in 14685 ms
hugo-1 | Error: error building site: logged 3 error(s)
The text was updated successfully, but these errors were encountered:
That construct is not supported. If it worked in 0.122, that was a happy accident. We are very lenient in relref and try very hard to find the page, but the ref is not relative to the project root, rather the content mount, e.g. /content. The link provided above is useful.
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes
After a fix in 0.123.1
relref
is still not working correctly. So #12096 was closed only forrelrefs
with trailing slash, but it doesn't find files now. Seems like a new regression.Example:
The text was updated successfully, but these errors were encountered: