Rinkusu/layouts/partials/bradcrumb.html

17 lines
No EOL
647 B
HTML

{{ if site.Params.breadcrumbs }}
{{"<!-- Bradcrumb Section -->" | safeHTML}}
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<nav aria-label="breadcrumb">
<!-- <p> You are hear ↓↓↓</p> -->
<ol class="breadcrumb">
{{- range .Ancestors.Reverse }}
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{- end }}
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
</ol>
</nav>
</div>
</nav>
{{"<!-- /Bradcrumb Section -->" | safeHTML}}
{{ end }}