+ {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}

{{ .Title }}

diff --git a/layouts/partials/breadcrumb.html b/layouts/partials/breadcrumb.html index 6b12b7964b..789bffbab2 100644 --- a/layouts/partials/breadcrumb.html +++ b/layouts/partials/breadcrumb.html @@ -18,12 +18,11 @@ {{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) -}} {{ end -}} {{ $isActive := eq .p1 .p2 }} + {{if .p1.Params.empty_node}} + {{ else }} -{{- end -}} \ No newline at end of file + {{ end }} + {{- end -}} \ No newline at end of file