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
|
@ -2,8 +2,12 @@
|
|||
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
<p>
|
||||
{{ if ne .PublishDate.Year 1 }}{{ .PublishDate.Format "2006-01-02" }} - {{ end }}{{ .Description }}
|
||||
|
||||
{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}<br/>Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}<a href="/tags/{{ . }}">{{ . }}</a> {{ end }}{{ end }}{{ end }}
|
||||
</p>
|
||||
|
||||
{{ partial "toc.html" . }}
|
||||
|
||||
{{ .Content }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue