diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html index 22dfd6a..243d0fb 100644 --- a/layouts/partials/page-header.html +++ b/layouts/partials/page-header.html @@ -7,9 +7,10 @@ {{ end }} {{ define "breadcrumb" }} - {{$parent := .page.Parent }} + {{ $parent := .page.Parent }} {{ if $parent }} - {{ $value := (printf "%s / %s" $parent.RelPermalink $parent.Title .value) }} + {{ $name := (partial "title" $parent) }} + {{ $value := (printf "%s / %s" $parent.RelPermalink $name .value) }} {{ template "breadcrumb" dict "page" $parent "value" $value }} {{ else }} {{ .value | safeHTML }}