-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Resource Permalink returns incorrect base URL with multihost site #12560
Comments
Work around gohugoio/hugo#12560 Signed-off-by: Daniel Holbach <[email protected]>
Addresses upstream multihost bug: gohugoio/hugo#12560 Closes #185
The following also seems related? |
Thinking back, I'm not sure I would label this as a bug. Resources inside |
In a multihost configuration we are duplicating resources from assets across languages. The test case above produces this:
The problem is that, for one of the sites, the |
This isn't anything new. I am able to reproduce with v0.54.0 and later.
The last assertion fails; the file is identical to public/en/index.html, which means it's pointing to the wrong site.
Reference: https://discourse.gohugo.io/t/multihost-trouble/50103
The work around is to use
RelPermalink
instead:The text was updated successfully, but these errors were encountered: