Skip to content
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

Incorrect translation link in multihost mode #988

Open
shane-yao opened this issue Jan 3, 2025 · 1 comment
Open

Incorrect translation link in multihost mode #988

shane-yao opened this issue Jan 3, 2025 · 1 comment

Comments

@shane-yao
Copy link

I found that maybe a bug(?) if the hugo site is configured in multihost mode(different languages use different base urls).

I checked translations.html's code and found that different language's url is using RelPermalink as href target.This might have some problems if the site is in multihost mode.

So, I think would be more suitable using Permalink in multihost mode. Please correct me if this is wrong. I will make a PR later.

shane-yao added a commit to shane-yao/congo that referenced this issue Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@shane-yao and others