{{ $taxonomy := "tags" -}} {{ $tags := .Page.Param $taxonomy -}} {{ if (len $tags) -}} {{ with $.Prefix }}{{ . | safeHTML -}}{{ end -}} {{- range $index, $tag := $tags -}} {{- $taglink := $.Page.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}} {{- if $index -}}  {{ end -}}#{{ $tag | urlize }} {{- end }} {{- end }}