Fix breadcrumbs to be hideable

master
Will Faught 2 years ago
parent 095b6ba431
commit d06980a796

@ -1,11 +1,13 @@
{{ $page := . }} {{ $page := . }}
{{ with .Ancestors }} {{ with .Ancestors }}
<nav aria-label="{{ i18n `paige_breadcrumb` }}" class="d-flex justify-content-center mt-3" id="paige-breadcrumb"> <nav aria-label="{{ i18n `paige_breadcrumb` }}" class="mt-3" id="paige-breadcrumb">
<div class="d-flex justify-content-center">
<ol class="breadcrumb"> <ol class="breadcrumb">
{{ range .Reverse }} {{ range .Reverse }}
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ .Title | markdownify}}</a></li> <li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ .Title | markdownify}}</a></li>
{{ end }} {{ end }}
</ol> </ol>
</div>
</nav> </nav>
{{ end }} {{ end }}

Loading…
Cancel
Save