Add option to remove repeated identical segments

Created on 24 June 2025, about 1 month ago

Problem/Motivation

Easy breadcrumb has the option to remove repeated identical segments. This is useful for when you are on a page /events which also has a menu link "Events". Currently it would show Home > Events > Events when you append the current page title. Here it would be sufficient to just show the last crumb.

The logic is not that complex so it's easy to port to Menu Breadcrumb.

Steps to reproduce

Have a menu link and a page/view with the same title
Have home link enabled
Have "Append current page" enabled

Observe crumbs like Home > Events > Events

Proposed resolution

Introduce extra options:

Remove repeated identical segments
Remove repeated identical segments - only validate on the text

Port the same logic as easy_breadcrumb.

Remaining tasks

MR

User interface changes

Extra options

API changes

N/A

Data model changes

N/A

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium BramDriesen Belgium 🇧🇪

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