From f0d45fe81f0c350dd2805bc0a7543fbd5f3beced Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 23 Mar 2021 22:58:01 +0100 Subject: Added breadcrumbs in the Docs section and display tags list in blog posts --- layouts/_default/single.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index aa27b23..354384d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,8 +2,12 @@
{{ if ne .PublishDate.Year 1 }}{{ .PublishDate.Format "2006-01-02" }} - {{ end }}{{ .Description }}
+{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}
Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}{{ . }} {{ end }}{{ end }}{{ end }}
+