about summary refs log tree commit diff
path: root/layouts/partials/breadcrumbs.html
blob: 04c4ac34d8aab08af27b7f1e3276e01dc26d2369 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<nav aria-label="breadcrumb" class="breadcrumb">
  <ol>
    {{ range where .Ancestors.Reverse "Params.categories" "intersect" (slice "book") }}
      <li>
        <a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
      </li>
    {{ end }}
    <li class="active">
      <a aria-current="page">{{ .LinkTitle }}</a>
    </li>
  </ol>
</nav>