diff --git a/layouts/partials/persons/hero-single.html b/layouts/partials/persons/hero-single.html index 74dd7b9f489fe968cee2eb45e13cc801034da491..37e4352768ca477695b29b538623fe1ef2058ffa 100644 --- a/layouts/partials/persons/hero-single.html +++ b/layouts/partials/persons/hero-single.html @@ -1,6 +1,8 @@ <header class="hero"> <div class="container"> - {{ partial "header/breadcrumbs.html" . }} + {{- if eq site.Params.breadcrumb.position "hero-start" -}} + {{ partial "header/breadcrumbs.html" . }} + {{- end -}} <div class="content"> <h1>{{ safeHTML (partial "CorrectPunctuation" .Title) }}</h1> {{ if .Params.image }} @@ -14,5 +16,14 @@ </div> {{ end }} </div> + {{- if eq site.Params.breadcrumb.position "hero-end" -}} + {{ partial "header/breadcrumbs.html" . }} + {{- end -}} </div> </header> + +{{- if eq site.Params.breadcrumb.position "after-hero" -}} + <div class="container"> + {{ partial "header/breadcrumbs.html" . }} + </div> +{{- end -}} \ No newline at end of file