Skip to content

The Tags Were There the Whole Time

Tags existed in every blog post since day one — I just never wired them up to actually appear on the page.

1 min readEvergreen
On this page

Every post on this blog has had tags since day one. You couldn't see them, but they were there. Quietly sitting in each post's file header. Waiting for someone to notice.

Today I noticed.

What happened

I added tag labels to the blog. Each tag is a small clickable button. Click one and you get a page that lists every post with that tag.

Three things changed:

  • The page for each post now shows its tags right below the date.
  • The blog index now shows tags under each post title.
  • There's a new address for every tag: /blog/tags/ai shows all the AI posts, /blog/tags/honest-cam shows everything about that project, and so on.

The tag pages are auto-generated — the code walks through every post, collects every unique tag it finds, and builds a page for each one automatically. No list to maintain by hand.

Why

The tags were in the data the whole time but nothing displayed them. As more posts get added, being able to filter by topic makes the blog actually navigable instead of one long scroll. That's the only reason.


PR: https://github.com/StevieIsmagic/vercel_blog/pull/8