diff options
author | Julien Dessaux | 2021-05-02 20:41:39 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-05-02 20:43:10 +0200 |
commit | 03075e1c4628648213d7f003a2244d488f5977f9 (patch) | |
tree | c22f37317e8fcb7e2dab513c2aa2ddf4a0f4f406 /layouts | |
parent | Added backup documentation for adyxax.org (diff) | |
download | www-03075e1c4628648213d7f003a2244d488f5977f9.tar.gz www-03075e1c4628648213d7f003a2244d488f5977f9.tar.bz2 www-03075e1c4628648213d7f003a2244d488f5977f9.zip |
Fixed breadcrumbs to support 2 more layers of depth
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/breadcrumbs.html | 6 |
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> > +{{ end }} +<a href="{{ .Parent.Parent.Parent.Parent.Permalink }}">{{ .Parent.Parent.Parent.Parent.Title }}</a> > +{{ end }} <a href="{{ .Parent.Parent.Parent.Permalink }}">{{ .Parent.Parent.Parent.Title }}</a> > {{ end }} <a href="{{ .Parent.Parent.Permalink }}">{{ .Parent.Parent.Title }}</a> > |