diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 3aecef2..877be4b 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -43,11 +43,13 @@ {{ end }} {{ range $taxonomy_term, $taxonomy := .Params }} - {{ with $.Site.GetPage (printf "/%s" $taxonomy_term) }} -

+ {{ with $.Site.GetPage $taxonomy_term }} + {{ $len := (len $taxonomy) }} +

{{ $taxonomy_term | title }}: - {{ range $key, $value := $taxonomy }} - {{ $value }} + {{ range $key, $value := $taxonomy }} + + {{ $value }}{{ if ne (add $key 1) $len }},{{ end }} {{ end }}

{{ end }}