feat: add 404 page and tag listing generation

Detect content/_404.md as special page (underscore
prefix convention), store in SiteManifest.page_404,
render to 404.html in output root.

Add collect_tags() grouping all tagged content into
BTreeMap for deterministic output. render_tag_page()
renders through tags/default.html template.

Add 5 tests. Test suite: 78 → 83, all passing.
This commit is contained in:
Timothy DeHerrera
2026-02-14 16:03:30 -07:00
parent 53463b3d8b
commit e7809e1ce2
6 changed files with 307 additions and 13 deletions

9
docs/content/_404.md Normal file
View File

@@ -0,0 +1,9 @@
+++
title = "Page Not Found"
+++
# Page Not Found
The page you're looking for doesn't exist or has been moved.
[Return to the homepage](/)