From 8a6eab83d720f7a9c6b4fb7effbe0f834ed86152 Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Fri, 9 Oct 2026 14:45:04 -0400 Subject: [PATCH] Stop building tag and category pages Each news post stores its tags as one comma-separated string, so Hugo builds one page per post under names like /tags/announcement-software-pynwb-release/. These pages and the /tags/ and /categories/ indexes use the bare default list template, nothing links to them, and all eight are in the sitemap. Disabling the taxonomy kinds removes them. The tags shown on each news post come from the front matter directly and are unaffected. Co-Authored-By: Claude Opus 5.5 (1M context) --- hugo.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hugo.yaml b/hugo.yaml index df8463b..45b89f5 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -9,6 +9,13 @@ buildFuture: true pagination: pagerSize: 10 +# The site does not use taxonomies. Without this, Hugo builds unstyled +# /tags/ and /categories/ pages that nothing links to and adds them to the +# sitemap. +disableKinds: + - taxonomy + - term + # Markup markup: goldmark: