From 03075e1c4628648213d7f003a2244d488f5977f9 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 2 May 2021 20:41:39 +0200 Subject: Fixed breadcrumbs to support 2 more layers of depth --- layouts/partials/breadcrumbs.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'layouts') diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index 814ec26..a4b54cf 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -2,6 +2,12 @@ {{ if ne .Parent nil }} {{ if ne .Parent.Parent nil }} {{ if ne .Parent.Parent.Parent nil }} +{{ if ne .Parent.Parent.Parent.Parent nil }} +{{ if ne .Parent.Parent.Parent.Parent.Parent nil }} +{{ .Parent.Parent.Parent.Parent.Parent.Title }} > +{{ end }} +{{ .Parent.Parent.Parent.Parent.Title }} > +{{ end }} {{ .Parent.Parent.Parent.Title }} > {{ end }} {{ .Parent.Parent.Title }} > -- cgit v1.2.3