Commit 14efd9d5 authored by Jamie Tanna's avatar Jamie Tanna

Mark tags up with the `p-category` microformat markup

As part of jvt.me#407, we want to add `p-category` tags to our taxonomy
terms within posts.

However, from discussions in the IndieWeb chat[0], there is no real
distinction between categories/tags in the spec, so the community
generally use tags instead. I'll follow suit for my own posts.

[0]: https://chat.indieweb.org/microformats/2019-03-27/1553676517225700
parent 41fc6ced
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<ul> <ul>
{{ $tags := index .Site.Taxonomies "tags" }} {{ $tags := index .Site.Taxonomies "tags" }}
{{ range .Params.Tags }} {{ range .Params.Tags }}
<li> <a href="/posts/tags/{{ . }}">{{ . }} ({{ len (index $tags .) }})</a></li> <li> <a class="p-category" href="/posts/tags/{{ . }}">{{ . }} ({{ len (index $tags .) }})</a></li>
{{ end }} {{ end }}
</ul> </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