{{define "tabler_breadcrumb"}}
{{$b := .}}
<nav aria-label="Breadcrumb">
  <ol class="breadcrumb{{if $b.Class}} {{$b.Class}}{{end}}{{if $b.Separator}} breadcrumb-{{$b.Separator}}{{end}}">
    {{range $i, $item := $b.Items}}
    {{if $item.Link}}
    <li class="breadcrumb-item">
      {{if and (eq $i 0) $item.HomeIcon}}
      <a href="{{$item.Link}}">
        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M5 12l-2 0l9 -9l9 9l-2 0"></path><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"></path><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6"></path></svg>
      </a>
      {{else}}
      <a href="{{$item.Link}}">{{$item.Title}}</a>
      {{end}}
    </li>
    {{else}}
    <li class="breadcrumb-item active" aria-current="page">{{$item.Title}}</li>
    {{end}}
    {{end}}
  </ol>
</nav>
{{end}}
