{{ define "crumbtrail" }} {{ if and .p1.Parent .p2.Parent }} {{ template "crumbtrail" (dict "p1" .p1.Parent "p2" .p2 ) }} {{- end -}} {{ if .p1.IsHome }} home {{ else }} {{ partial "utils/title" .p1 }} {{ end }}{{- if ne .p1 .p2 }}/{{- end -}} {{- end -}}