Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolving Trailing Slash Issue in Breadcrumbs Links #212

Open
shah-iq opened this issue Mar 19, 2024 · 5 comments
Open

Resolving Trailing Slash Issue in Breadcrumbs Links #212

shah-iq opened this issue Mar 19, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@shah-iq
Copy link

shah-iq commented Mar 19, 2024

I'm encountering an issue with the using astro-breadcrumbs with Astrowind template on my website. I'm using the astro-breadcrumbs integration to display breadcrumbs. However, after running the build command pnpm run build, the links in the breadcrumbs are having trailing slashes appended to them, despite having set the trailing slash option to "never." Additionally, I've included trailingSlash={false} in the Breadcrumb component for added assurance. It seems the problem only pertains to the links generated by the breadcrumbs. Can you suggest any potential solutions?

@felix-berlin
Copy link
Owner

Hi @shah-iq thanks for creating this issue. Do you have a link to your repo?

@shah-iq
Copy link
Author

shah-iq commented Mar 20, 2024

Hi @shah-iq thanks for creating this issue. Do you have a link to your repo?

Actually this is a project for a client and is a private repo

@felix-berlin
Copy link
Owner

@shah-iq I will check this issue within this (hopefully) week. By the way the traillingSlash prop has been deprecated since V2. Please make sure you read the Migration Guide https://docs.astro-breadcrumbs.kasimir.dev/guides/migration-to-v2/

@felix-berlin
Copy link
Owner

Did you use the current release?

@shah-iq
Copy link
Author

shah-iq commented Mar 20, 2024

Did you use the current release?

Yes I am using the latest release and I used the traillingSlash prop only to just double check if by any chance resolved the issue. I had seen the migration guide that this prop had been deprecated.

@felix-berlin felix-berlin self-assigned this Apr 8, 2024
@felix-berlin felix-berlin added the bug Something isn't working label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants