From 4f62d41190ccb05f49c4c29d6ab3988851a75e12 Mon Sep 17 00:00:00 2001 From: vjeantet Date: Mon, 27 Jul 2020 02:06:07 +0200 Subject: fix colors --- layouts/partials/body-article-content.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/body-article-content.html b/layouts/partials/body-article-content.html index 1de2b7c..d9ae492 100644 --- a/layouts/partials/body-article-content.html +++ b/layouts/partials/body-article-content.html @@ -58,7 +58,15 @@ {{ define "breadcrumbnav" }} {{ if .p1.Parent }} - {{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }} + {{ if .p1.Parent.IsHome}} + + {{else}} + {{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }} + {{end}} {{ else if not .p1.IsHome }} {{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }} {{ end }} -- cgit v1.2.3