Edward Langley 9132d7485d Add book catalog example with global/local template system
Features:
- Global template configuration (sqlite_global_templates directive)
- Template path resolution relative to location
- Automatic template loading from directories
- Local templates override global templates
- Content handler installation via directive setter

Book Catalog Example:
- Complete working example with 10 technical books
- SQLite database with setup script
- 4 browseable pages (all, programming, databases, computer-science)
- Shared global templates (header, footer, book_card partial)
- Category-specific local templates with unique theming
- Responsive gradient UI design
- Working navigation and filtering

Configuration:
- sqlite_global_templates: HTTP main-level directive for shared templates
- sqlite_template: Location-level directive (sets content handler)
- Template resolution: {doc_root}{uri}/{template_name}
- All .hbs files in directories auto-loaded as partials

Technical improvements:
- Fixed content handler setup (not phase handler)
- Proper HttpModuleMainConf and HttpModuleLocationConf traits
- Template directory scanning and registration
- Error handling with debug logging
2025-11-15 14:52:39 -08:00
2025-11-13 23:20:27 -08:00
2025-11-15 14:26:39 -08:00
2025-11-15 12:29:40 -08:00
2025-11-14 00:18:51 -08:00
2025-11-15 14:26:39 -08:00
2025-11-15 14:26:39 -08:00
2025-11-15 12:46:45 -08:00
2025-11-15 14:26:39 -08:00
2025-11-15 14:26:39 -08:00
2025-11-14 03:38:19 -08:00
2025-11-13 23:20:27 -08:00
2025-11-14 03:38:19 -08:00
2025-11-15 14:26:39 -08:00
2025-11-14 03:38:19 -08:00
Description
No description provided
149 KiB
Languages
Rust 70.6%
Handlebars 15%
CSS 8.4%
Shell 4.5%
Nix 1.5%