Skip to content

Sidebar link active conditions - needs to be the same page #1153

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Arad1el
Copy link

@Arad1el Arad1el commented May 10, 2025

Links in the left sidebar are set to active if the title of the current page matches the title of the linked page

If you have two pages with the same title, then the link is set to active even if you are not on the page that the link refers to.
This changes the condition so that instead it checks that the URL of the current page matches the link

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