I’m setting up a site structure where I like to attach some extra data to some taxonomy terms (in addition to their name), to be able to use this data during rendering of the term under the list or single templates.
An example of such data would be like a “subtitle” or “short-description” / “summary” for the term.
It’s great that we can do that for pages, and it looks like a very useful feature missing from terms.
I think a work-around for the missing feature is to write a macro which, given the taxonomy name and term, returns the needed data. However, this would be something hard to maintain, b/c of the disconnect between the term definition and where the data would be stored.
I use lots of extra.* values on page front matter and site config alike for things like this.
A few excerpts from my site:
name = "Miscellaneous"
title = "Anything otherwise uncategorised"
description = "These posts are one‐off tech‐related things that I don’t have a better categorisation for."
name = "Rust"
title = "The Rust programming language"
description = "I write about Rust things routinely. Here they all are."
name = "Fun"
description = "Most of what I write is intended to be useful, but sometimes I write things just for fun. I make no guarantee that you will enjoy them; it is enough that <em>I</em> do."