diff --git a/layouts/docs/tutorials.html b/layouts/docs/tutorials.html index 34396c144d..10a0e3bd14 100644 --- a/layouts/docs/tutorials.html +++ b/layouts/docs/tutorials.html @@ -15,6 +15,7 @@ + {{ 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 }} - {{if .p1.Params.empty_node}} - {{ .p1.LinkTitle }} - {{ else }} {{ .p1.LinkTitle }} - {{ end }} -{{- end -}} \ No newline at end of file + {{ end }} + {{- end -}} \ No newline at end of file