{{ define "breadcrumb" }} {{ if .p1.Parent }} {{ template "breadcrumb" (dict "p1" .p1.Parent "p2" .p2) }} {{ else if not .p1.IsHome }} {{ template "breadcrumb" (dict "p1" .p1.Site.Home "p2" .p2) }} {{ end }} {{ $isHere := eq .p1 .p2 }} {{ $title := .p1.Params.breadcrumb | default .p1.Params.short | default .p1.Title }}
  • {{ if not .p1.IsHome }} {{ end }} {{ $title | markdownify }}
  • {{ end }}