{{ $taxonomy := "tags" -}} {{ with .Param $taxonomy -}} {{- if gt (len .) 1 -}}  |  Tags: {{- else if gt (len .) 0 -}}  |  Tag: {{- end }} {{ range $index, $tag := . -}}{{- with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}} {{- if $index -}}, {{ end -}}{{ $tag | urlize }}{{- end -}}{{- end }} {{- end -}}