From b8c8e0828c022f540249d3357e9be48fa311acb0 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 9 Nov 2021 16:46:22 +0100 Subject: Fixed tags links in blog articles --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 354384d..db2c555 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,7 +5,7 @@

{{ 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 }} +{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}
Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}{{ with $.Site.GetPage (printf "/%s/%s" "tags" .) }}{{ .Title }} {{ end }}{{ end }}{{ end }}{{ end }}

{{ partial "toc.html" . }} -- cgit v1.2.3