prymitive / bootstrap-breadcrumbs

Django template tags for easy breadcrumbs using twitter bootstrap css classes or custom template
django-bootstrap-breadcrumbs.readthedocs.org
MIT License
93 stars 48 forks source link

No spacing after divider "/" #61

Closed d3al closed 4 years ago

d3al commented 4 years ago

I've have three crumbs and they don't get a space after the "/" but in the examples, there is a space.

What I expect

Home / One / Two

What I get

Home /One /Two

{% breadcrumb "Home" "app:home" %} {% breadcrumb "One" "app:one" %} {% breadcrumb "Two" "app:two" %}

d3al commented 4 years ago

The issue was the default breadcrumb template is using bootstrap2, I'm using v4.

I added this to my settings from the docs and I'm now getting properly formatted dividers.

BREADCRUMBS_TEMPLATE = "django_bootstrap_breadcrumbs/bootstrap4.html"

d3al commented 4 years ago

resolved