diff options
author | Julien Dessaux | 2021-03-23 22:58:01 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-23 22:58:01 +0100 |
commit | f0d45fe81f0c350dd2805bc0a7543fbd5f3beced (patch) | |
tree | 6c7ffe7982fab1b4cd9aff8adaa42ae475c0cabb /layouts/partials/breadcrumbs.html | |
parent | Cut down code quotes that were too long and disformed the blog template (diff) | |
download | www-f0d45fe81f0c350dd2805bc0a7543fbd5f3beced.tar.gz www-f0d45fe81f0c350dd2805bc0a7543fbd5f3beced.tar.bz2 www-f0d45fe81f0c350dd2805bc0a7543fbd5f3beced.zip |
Added breadcrumbs in the Docs section and display tags list in blog posts
Diffstat (limited to 'layouts/partials/breadcrumbs.html')
-rw-r--r-- | layouts/partials/breadcrumbs.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html new file mode 100644 index 0000000..814ec26 --- /dev/null +++ b/layouts/partials/breadcrumbs.html @@ -0,0 +1,13 @@ +<p> +{{ if ne .Parent nil }} +{{ if ne .Parent.Parent nil }} +{{ if ne .Parent.Parent.Parent nil }} +<a href="{{ .Parent.Parent.Parent.Permalink }}">{{ .Parent.Parent.Parent.Title }}</a> > +{{ end }} +<a href="{{ .Parent.Parent.Permalink }}">{{ .Parent.Parent.Title }}</a> > +{{ end }} +<a href="{{ .Parent.Permalink }}">{{ .Parent.Title }}</a> > +{{ end }} +<strong>{{ .Title }}</strong><br/> +{{ .Description }} +</p> |