Skip to content

fix: correct active navigation tab highlighting#155

Open
mohitjoshi-hey wants to merge 1 commit intoOpenLiveWriter:masterfrom
mohitjoshi-hey:fix-active-tab-code
Open

fix: correct active navigation tab highlighting#155
mohitjoshi-hey wants to merge 1 commit intoOpenLiveWriter:masterfrom
mohitjoshi-hey:fix-active-tab-code

Conversation

@mohitjoshi-hey
Copy link
Copy Markdown

The navigation bar currently has the "Home" tab hardcoded as active, causing incorrect highlighting on other pages.

This PR replaces the hardcoded "active" class with dynamic Jekyll logic, ensuring the correct tab is highlighted based on the current page.

@mohitjoshi-hey
Copy link
Copy Markdown
Author

@dotnet-policy-service agree

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