Commit 6b364b52 authored by Jamie Tanna's avatar Jamie Tanna

Fix: Don't include taxonomy count in `p-category`

In, I added the count of a taxonomy term in the link to that
term. However, in, the `p-category` markup accidentally
includes the count, too, which isn't good!
parent c83b1970
......@@ -49,7 +49,7 @@
{{ $tags := index .Site.Taxonomies "tags" }}
{{ range .Params.Tags }}
<li> <a class="p-category" href="/posts/tags/{{ . }}">{{ . }} ({{ len (index $tags .) }})</a></li>
<li> <a href="/posts/tags/{{ . }}"><span class="p-category">{{ . }}</span> ({{ len (index $tags .) }})</a></li>
{{ end }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment