Fix breadcrumbs to be hideable

master
Will Faught 2 years ago
parent 095b6ba431
commit d06980a796

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

Loading…
Cancel
Save