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:
9
docs/content/_404.md
Normal file
9
docs/content/_404.md
Normal 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](/)
|
||||
Reference in New Issue
Block a user