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
54 stars 7 forks source link

Customised last item in crumbs (issue #277) #279

Closed ashu-shukla closed 1 month ago

ashu-shukla commented 1 month ago

Example URL:

Screenshot 2024-06-11 at 10 28 26 PM

Current Breadcrumb Sequence:

Screenshot 2024-06-11 at 10 30 23 PM

Current Code:

Screenshot 2024-06-11 at 10 32 02 PM

With this Change

New Code Looks Like:

Screenshot 2024-06-11 at 10 34 05 PM

New Breadcrumb Sequence:

Screenshot 2024-06-11 at 10 35 01 PM
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 72.69%. Comparing base (2c641a3) to head (ba76afa).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #279 +/- ## ========================================== + Coverage 71.98% 72.69% +0.71% ========================================== Files 5 5 Lines 307 315 +8 Branches 35 37 +2 ========================================== + Hits 221 229 +8 Misses 86 86 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

felix-berlin commented 1 month ago

I think the current beta release should solve your issue, see: https://github.com/felix-berlin/astro-breadcrumbs/issues/277#issuecomment-2182914497