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

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

In jvt.me#305, I added the count of a taxonomy term in the link to that
term. However, in jvt.me#407, the `p-category` markup accidentally
includes the count, too, which isn't good!
parent c83b1970
......@@ -49,7 +49,7 @@
<ul>
{{ $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 }}
</ul>
......
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