diff --git a/layouts/partials/header.html b/layouts/partials/header.html index de16c932e8..503e196d1a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -62,11 +62,15 @@ - {{ if $toc }} - - {{ end }} + {{ if $toc }} + + {{ end }} - {{ template "breadcrumb" dict "page" . "value" .Title }} + {{if ne .Site.Params.disableBreadcrumb true}} + {{ template "breadcrumb" dict "page" . "value" .Title }} + {{ else }} + {{ .Title }} + {{ end }} {{ if $toc }}