This is another question that is probably simple, but I have been tearing my head about…
One of the problems I see in Hugo is the fact that it is difficult to extend taxonomies with using the current taxonomy label as a slug and then defining a long name to the taxonomy (i.e., netblog is my current category label, but I’d like to render it as Network Blog). I know that the way to do this is to set up a TOML file in the /data/category directory, but I’ve been clueless trying to get the syntax right to import this data into my list.html template.
I’ve tried:
{{index .Site.Data.category .Title .category}} (since this is a list page, .Title should be the category name)
{{with index .Site.Data.category .Title}}{{.longname}}{{end}}
I have a few taxonomies that have an _index.md file specified under /content/categories/ and /content/tags/. However, it seems I must now provide a _index.md for every category and tag or it won’t build the category or tag pages… Do I need to supply a _index.md in _default perchance?