Home page segment not rendered as a link

Created on 15 February 2024, 11 months ago
Updated 20 June 2024, 6 months ago

When building the breadcrumb on pages one level below the home page, the module checks to see if the segment should be rendered as a link. In doing so, it checks whether the current $links array is empty and the option to show the current page as a link is selected. This means that on the first level of sub-pages the home page link will have the URL <none> even though it is not the current page. We should instead use the pathMatcher to determine if we are on the front page before checking the setting about whether to render the current page segment as a link.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States i.mcbride

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024