Fix breadcrumbs to be hideable
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">
|
||||||
<ol class="breadcrumb">
|
<div class="d-flex justify-content-center">
|
||||||
{{ range .Reverse }}
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ .Title | markdownify}}</a></li>
|
{{ range .Reverse }}
|
||||||
{{ end }}
|
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ .Title | markdownify}}</a></li>
|
||||||
</ol>
|
{{ end }}
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue