aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/breadcrumbs.html
diff options
context:
space:
mode:
authorJulien Dessaux2021-05-02 20:41:39 +0200
committerJulien Dessaux2021-05-02 20:43:10 +0200
commit03075e1c4628648213d7f003a2244d488f5977f9 (patch)
treec22f37317e8fcb7e2dab513c2aa2ddf4a0f4f406 /layouts/partials/breadcrumbs.html
parentAdded backup documentation for adyxax.org (diff)
downloadwww-03075e1c4628648213d7f003a2244d488f5977f9.tar.gz
www-03075e1c4628648213d7f003a2244d488f5977f9.tar.bz2
www-03075e1c4628648213d7f003a2244d488f5977f9.zip
Fixed breadcrumbs to support 2 more layers of depth
Diffstat (limited to 'layouts/partials/breadcrumbs.html')
-rw-r--r--layouts/partials/breadcrumbs.html6
1 files changed, 6 insertions, 0 deletions
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 }}
+<a href="{{ .Parent.Parent.Parent.Parent.Parent.Permalink }}">{{ .Parent.Parent.Parent.Parent.Parent.Title }}</a> &gt;
+{{ end }}
+<a href="{{ .Parent.Parent.Parent.Parent.Permalink }}">{{ .Parent.Parent.Parent.Parent.Title }}</a> &gt;
+{{ end }}
<a href="{{ .Parent.Parent.Parent.Permalink }}">{{ .Parent.Parent.Parent.Title }}</a> &gt;
{{ end }}
<a href="{{ .Parent.Parent.Permalink }}">{{ .Parent.Parent.Title }}</a> &gt;