diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html
index 22689d7..8fb772e 100644
--- a/layouts/taxonomy/list.html
+++ b/layouts/taxonomy/list.html
@@ -3,14 +3,16 @@
{{ if eq (len $p) 1 }}
{{ index $p 0 }}⁄All
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies }}
- {{ range $key, $value := $taxonomy }}
- {{ $key }}({{ len (index $.Site.Taxonomies.keywords $key) }})
+ {{ if eq (index $p 0) $taxonomyname }}
+ {{ range $key, $value := $taxonomy }}
+ {{ $key }}({{ len (index (index $.Site.Taxonomies $taxonomyname) $key) }})
+ {{ end }}
{{ end }}
{{ end }}
{{ else }}
{{ index $p 0 }}⁄{{ index $p 1 }}
{{ range .Pages }}
- {{ .Title }}
- {{ end }}
+ {{ .Title }}
+ {{ end }}
{{ end }}
{{ end }}