-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Block] Home LinkAffects the Home Link BlockAffects the Home Link Block[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
What problem does this address?
When you create a navigation using the core/navigation
block you often want to add a link to Home
. It's great that we supply a "Home link" block for this purpose.
However, whilst normal Nav Link blocks output a current-menu-item
class when you are on that page, the Home link block does not. This makes it impossible to style the current page consistently across the navigation.
What is your proposed solution?
The home link block should output the current-menu-item
class when you are on that page. It should mirror the same functionality as the core/navigation-link
block.
Metadata
Metadata
Assignees
Labels
[Block] Home LinkAffects the Home Link BlockAffects the Home Link Block[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.