We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a link is manually mapped in docs.yml with different text than the title, the menu item does not show as active when clicked.
docs.yml
It doesn't seem to be an issue when link is just the same text with or without a space (see screenshots).
link
Steps to reproduce the behavior:
The menu item should be a:active.
a:active
n/a
Here's the relevant docs.yml section:
- title: Reference pages: - title: Android - title: "iOS & iPadOS" link: iOS - title: Chrome OS link: chromeos - title: macOS - title: Windows - title: Known Issues - title: Specifications link: specs - title: Terms
"Chrome OS" page (working, just has a space)
"Windows" page (working, exact match)
"iOS & iPadOS" (not working, different)
Please complete the following information where applicable.
0.27.17
15.3
v20.16.0
Chrome 132.0.6834.57 (Official Build) beta (arm64)
Copy the output of hugo env or npm run env here.
hugo env
npm run env
hugo v0.140.1+extended+withdeploy darwin/arm64 BuildDate=2024-12-23T16:26:35Z VendorInfo=brew GOOS="darwin" GOARCH="arm64" GOVERSION="go1.23.4" github.com/sass/libsass="3.6.6" github.com/webmproject/libwebp="v1.3.2"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When a link is manually mapped in
docs.yml
with different text than the title, the menu item does not show as active when clicked.It doesn't seem to be an issue when
link
is just the same text with or without a space (see screenshots).To reproduce
Steps to reproduce the behavior:
link
attribute underneathExpected behavior
The menu item should be
a:active
.Log file
n/a
Screenshots
Here's the relevant docs.yml section:
"Chrome OS" page (working, just has a space)
"Windows" page (working, exact match)
"iOS & iPadOS" (not working, different)
Host environment
Please complete the following information where applicable.
0.27.17
15.3
v20.16.0
Chrome 132.0.6834.57 (Official Build) beta (arm64)
Hugo environment
Copy the output of
hugo env
ornpm run env
here.The text was updated successfully, but these errors were encountered: