chore: Import layout for breadcrumb

This commit is contained in:
Simon 2024-03-14 11:13:00 +01:00
parent cac6f72f43
commit 3cfa780e5e
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
{{ with .Parent -}}
{{ partial "main/breadcrumb.html" . -}}
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ if .IsHome }}Home{{ else if eq .CurrentSection .FirstSection }}{{ .Section | humanize }}{{ else }}{{ .Title }}{{ end }}</a></li>
{{ end -}}