Open agusmakmun opened 3 years ago
by default, the {% render_breadcrumbs %} rendered the html breadcrumb like this below example:
{% render_breadcrumbs %}
<nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="/">Home</a></li> <li class="breadcrumb-item"><a href="/quizzes/">Quizzes</a></li> <li class="breadcrumb-item active" aria-current="page">Quiz Python Programming</li> </ol> </nav>
but, for some case I need to add new the thml class inside that <ol class="breadcrumb">, e.g: <ol class="breadcrumb bg-light">.
<ol class="breadcrumb">
<ol class="breadcrumb bg-light">
Is there any support for it? e.g: {% render_breadcrumbs add_class:"bg-light foobar baz" %}
{% render_breadcrumbs add_class:"bg-light foobar baz" %}
by default, the
{% render_breadcrumbs %}
rendered the html breadcrumb like this below example:but, for some case I need to add new the thml class inside that
<ol class="breadcrumb">
, e.g:<ol class="breadcrumb bg-light">
.Is there any support for it? e.g:
{% render_breadcrumbs add_class:"bg-light foobar baz" %}