feat: integrate tag pages into sitemap
Thread tag names from collect_tags() through generate_sitemap_file to generate_sitemap, appending /tags/<tag>.html entries to sitemap.xml output. Refactor: hoist collect_tags into run(), rename generate_tag_pages to write_tag_pages. Test suite: 83 → 84, phase 3 complete.
This commit is contained in:
@@ -131,10 +131,10 @@ Items validated by codebase investigation:
|
||||
- [x] Collect all unique tags across content items during build
|
||||
- [x] Create `tags/default.html` template in `docs/templates/`
|
||||
- [x] Generate `/tags/<tag>.html` for each unique tag with list of tagged items
|
||||
- [ ] Add tag listing page entries to sitemap (if enabled)
|
||||
- [x] Add tag listing page entries to sitemap (if enabled)
|
||||
- [x] Add tests: 404 page generation
|
||||
- [x] Add tests: tag listing page generation (correct paths, correct items per tag)
|
||||
- [ ] End-to-end: build `docs/` site and verify all outputs
|
||||
- [x] End-to-end: build `docs/` site and verify all outputs
|
||||
|
||||
## Verification
|
||||
|
||||
|
||||
Reference in New Issue
Block a user