feat: add optional breadcrumb trail

This commit is contained in:
Henk Verlinde
2021-03-05 21:04:55 +01:00
parent 7eeba784db
commit 9c67aca368
4 changed files with 20 additions and 1 deletions

View File

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