<article>
{{ $type := .type }}
{{ range .pages }}
<a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> {{ if eq $type "taxonomy"}}{{ .Count }}{{ end }}
{{ end }}
</article>