Added breadcrumbs in the Docs section and display tags list in blog posts
This commit is contained in:
parent
f5eb463f91
commit
f0d45fe81f
4 changed files with 28 additions and 1 deletions
13
layouts/partials/breadcrumbs.html
Normal file
13
layouts/partials/breadcrumbs.html
Normal file
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue