{{ $homeLink := "/" }}
{{ if eq .Lang "it" }}
  {{ $homeLink = "/it/" }}
{{ end }}

<nav class="breadcrumb mb-6" aria-label="Breadcrumb">
  <a href="{{ $homeLink }}">{{ i18n "home" }}</a>
  {{ range .Ancestors.Reverse }}
    {{ if ne .Kind "home" }}
      <span class="breadcrumb-separator">/</span>
      <a href="{{ .RelPermalink }}">{{ .Title }}</a>
    {{ end }}
  {{ end }}
  <span class="breadcrumb-separator">/</span>
  <span>{{ .Title }}</span>
</nav>
