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

breadcrumb: don't ignore spaces for separator #636

Closed
partigabor opened this issue Sep 5, 2023 · 2 comments
Closed

breadcrumb: don't ignore spaces for separator #636

partigabor opened this issue Sep 5, 2023 · 2 comments
Assignees
Labels
bug Something isn't working hugo This is a topic related to Hugo itself but not the theme
Milestone

Comments

@partigabor
Copy link

The config setting breadcrumbSeparator = " | " works nicely when the site is hosted locally (hugo server), but the online site (GitHub pages) version ignores spaces. See image attached. Not sure if I didn't notice something or this is a bug. Thanks for all your efforts!
scr

@McShelby McShelby changed the title Breadcrumb separator ignores spaces breadcrumb: don't ignore spaces for separator Sep 5, 2023
@McShelby McShelby self-assigned this Sep 5, 2023
@McShelby McShelby added the bug Something isn't working label Sep 5, 2023
@McShelby McShelby added this to the 5.20.1 milestone Sep 5, 2023
@McShelby
Copy link
Owner

McShelby commented Sep 5, 2023

This is a problem if using minification as in hugo --minify. This fix is pushed to main and contained in the next release.

It is enough to declare your breadcrumb separator without spaces like breadcrumbSeparator = "|"

@McShelby McShelby closed this as completed Sep 5, 2023
@McShelby McShelby added the hugo This is a topic related to Hugo itself but not the theme label Sep 5, 2023
@partigabor
Copy link
Author

okay, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hugo This is a topic related to Hugo itself but not the theme
Projects
None yet
Development

No branches or pull requests

2 participants