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