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

link: support link variations through query parameter #850

Open
McShelby opened this issue May 2, 2024 · 0 comments
Open

link: support link variations through query parameter #850

McShelby opened this issue May 2, 2024 · 0 comments
Labels
change Introduces changes with existing installations feature New feature or request

Comments

@McShelby
Copy link
Owner

McShelby commented May 2, 2024

Currently it is possible to link to other languages by prepending the link with the language prefix like pir/basics.

This is pretty hacky and would collide if there is a pir page in the current translation.

Also it is currently not possible to link to other output formats of the same page.

By providing query parameter for both cases and respecting them in the link render hook, both could be supported in a much cleaner way.

This was discussed in https://discourse.gohugo.io/t/relearn-theme-include-a-reveal-slide-per-topic/49583

@McShelby McShelby added feature New feature or request change Introduces changes with existing installations labels May 2, 2024
@McShelby McShelby added this to the 6.0.1 milestone May 2, 2024
@McShelby McShelby self-assigned this May 2, 2024
@McShelby McShelby removed this from the 6.1.0 milestone Aug 2, 2024
@McShelby McShelby removed their assignment Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change Introduces changes with existing installations feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant