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

relLangURL behavior for non-site URL unspecified #2956

Open
willfaught opened this issue Mar 3, 2025 · 0 comments · May be fixed by #2960
Open

relLangURL behavior for non-site URL unspecified #2956

willfaught opened this issue Mar 3, 2025 · 0 comments · May be fixed by #2960

Comments

@willfaught
Copy link
Contributor

https://gohugo.io/functions/urls/rellangurl/:

With baseURL = https://example.org/

{{ relLangURL "" }}                        → /en/
{{ relLangURL "articles" }}                → /en/articles
{{ relLangURL "style.css" }}               → /en/style.css
{{ relLangURL "https://example.org/foo" }} → /en/foo
@willfaught willfaught linked a pull request Mar 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant