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

fix and simplify language menu #344

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

fritzmg
Copy link
Contributor

@fritzmg fritzmg commented Nov 15, 2019

When using a custom url parameter for pages to override the path for a specific language for example, the current implementation of the language menu will show the wrong URL (with the most recent Hugo versions). Also, currently there will be an additional / in front of the language path parameter.

This PR fixes both. Tested with Hugo 0.59.1.

maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
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

Successfully merging this pull request may close these issues.

1 participant