typo/layouts/partials/breadcrumbs.html
2024-05-11 22:48:26 +02:00

9 lines
306 B
HTML

{{ if .Site.Params.breadcrumbs }}
<div class="breadcrumbs">
{{ range .Ancestors.Reverse }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
<span class="breadcrumbs-separator"> > </span>
{{ end }}
<a class="breadcrumbs-current" href="{{ .RelPermalink }}">{{ .Title }}</a>
</div>
{{ end }}