felix-berlin / astro-breadcrumbs

Well configurable breadcrumb component for Astro.js. Create breadcrumbs completely dynamically or specify exactly how they should look.
https://docs.astro-breadcrumbs.kasimir.dev
GNU General Public License v3.0
64 stars 7 forks source link

Make it possible to not show the last (current) crumb #228

Closed JanMisker closed 4 months ago

JanMisker commented 5 months ago

Thanks for this package!

The breadcrumbs now always show the current page as well, but in our case we usually display that page title as a header right below the breadcrumbs. So it looks a bit redundant.

It would be nice if there is a property to not display the last/current crumb.

felix-berlin commented 5 months ago

Hi @JanMisker, good idea. Will put this improvement in the next release 🙂

JanMisker commented 4 months ago

@felix-berlin It seems that also the parent of the current page is omitted, could that be? I'm a new Astro builder, if you can point me to where I can create an example I'd be happy to provide it.

felix-berlin commented 4 months ago

@JanMisker It may well be that a bug has crept in there. I'll check it out and create a fix.