Skip to content

Stop generating the unused /categories/ pages - #1169

Merged
CGBassPlayer merged 1 commit into
JupiterBroadcasting:developfrom
CGBassPlayer:fix/539-unused-pages
Nov 16, 2026
Merged

CGBassPlayer merged 1 commit into
JupiterBroadcasting:developfrom
CGBassPlayer:fix/539-unused-pages

Conversation

@CGBassPlayer

@CGBassPlayer CGBassPlayer commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Hugo was generating a blank /categories/ page and one blank page per show (/categories/linux-unplugged/ and so on), and listing them in sitemap.xml. Nothing links to them or uses them.

  • config.toml: removed category = "categories" from [taxonomies].
  • The 8 show _index.md files: removed the categories = [...] front matter line.

Related issues

Fixes #539.

Testing

test/e2e/test_meta.py:

  • test_categories_pages_not_generated: /categories/, /categories/linux-unplugged/ and /categories/coder-radio/ return 404.
  • test_sitemap_has_no_categories: sitemap.xml has no /categories URLs.

Full e2e suite on this branch: 1016 passed, 7 xfailed (pre-existing xfails), 0 failures.

Notes

Only the categories pages are removed. The people and sponsors single pages are also nearly empty, but I left them: episode pages link to the sponsors index.md pages and the templates look people up with GetPage, so removing them breaks episode links.

Screenshots

Local Hugo server, /categories/linux-unplugged/ at 1280px wide.

Before, a blank page

1-before

After, 404

2-after-404

Checklist

  • Tests added
  • Blank people and sponsors single pages (left as they are, see Notes)

…asting#539)

Nothing in templates or tests used the category taxonomy; only eight show _index.md files set categories. Adds e2e checks that /categories/ pages 404 and sitemap.xml has no /categories/ URLs.
@CGBassPlayer
CGBassPlayer marked this pull request as ready for review November 16, 2026 04:40
@CGBassPlayer
CGBassPlayer merged commit 7227703 into JupiterBroadcasting:develop Nov 16, 2026
1 check passed
@CGBassPlayer
CGBassPlayer deleted the fix/539-unused-pages branch November 16, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unused Generated Pages

1 participant