Tags and Taxonomy
- Date
- Tags
- Tags Taxonomy Organisation
- Author
- Thomas Laurenson
letsblaze supports Hugo’s built-in taxonomy system. Tags are the primary taxonomy.
Adding tags to a post
In front matter:
---
title: "My Post"
tags: ["hugo", "web", "html"]
---Tag pages
Every tag automatically gets a listing page at /tags/TAG-NAME/ showing all posts with that tag, with pagination. The tags index at /tags/ lists all tags ordered by post count.
RSS per tag
Hugo generates an RSS feed for each tag automatically:
/tags/hugo/index.xmlThis lets readers subscribe to specific topics rather than the full blog feed.
Naming conventions
Tag names are lowercased and slugified automatically. Hugo Theme becomes hugo-theme in the URL. Use consistent, lowercase tag names in front matter to avoid duplicate taxonomy terms.