Category Configuration

Each subdirectory corresponds to a category used in post front matter. Each _index.md stores the category’s title and description.

Adding a New Category

1
mkdir -p content/categories/machine-learning

Create _index.md:

1
2
3
4
5
---
title: Machine Learning
description: Machine learning, AI, and data science
image:
---

Reference from posts (exact title, case-sensitive):

1
2
3
4
5
---
title: My Post
categories:
    - Machine Learning
---

Styling

Category badges are styled uniformly sitewide via assets/scss/custom.scss (%unified-badge). No per-category color is used — previous style.background / style.color blocks were removed in favor of one consistent slate-outline pill.

If per-category color is ever reintroduced, wire it back in themes/hugo-theme-stack/layouts/partials/article/components/details.html and the homepage timeline.html partial.