{{- /* PaperMod's breadcrumbs start at Home and walk down every ancestor. The header already shows " / ", so the first two crumbs would repeat it: drop the home page and the topic section, and render nothing at all when that leaves the trail empty. */ -}} {{- if (.Param "ShowBreadCrumbs") -}} {{- $ancestors := .Ancestors.Reverse -}} {{- $crumbs := slice -}} {{- if gt (len $ancestors) 2 }}{{- $crumbs = after 2 $ancestors }}{{- end -}} {{- if $crumbs }} {{- end }} {{- end -}}