Works nice, only last item is the same as current page, and showing as link. I would like to show it as text, not as link. Logic is that link won’t link to itself.
Yes, I would like to show last breadcrumb item as text, but with that code it’s showing not all last items as text, but only if child page is last. Here is how it works: https://take.ms/fTHdv
Last breadcrumb as text is only working for these pages (green):
But should be as text for any page, if it’s last in breadcrumb.