Commit Graph

4 Commits

Author SHA1 Message Date
Timothy DeHerrera
e200e94583 feat(templates): complete Tera migration, remove maud
Fully migrate from compile-time maud templates to runtime Tera:
- Rewrote main.rs to use TemplateEngine and discover_sections()
- Replaced hardcoded blog/projects with generic section loop
- Added Clone derive to Frontmatter and Content
- Fixed section_type dispatch via Section struct
- Deleted src/templates.rs, removed maud dependency

Users can now add sections without code changes.
2026-01-31 15:10:39 -07:00
Timothy DeHerrera
3df7fda26a feat(templates): add Tera runtime template engine
Lay groundwork for user-editable templates by adding Tera as a
runtime template engine alongside the existing maud templates.

Changes:
- Add tera dependency
- Create TemplateEngine struct with render methods
- Add TemplateLoad/TemplateRender error variants
- Add section_type/template fields to Frontmatter
- Create templates/ directory with base, page, section, and content templates

Dead code warnings are expected; TemplateEngine will be wired
in to replace maud in subsequent commits.
2026-01-31 14:59:49 -07:00
Timothy DeHerrera
8b1e0d1f29 chore: move zola infrastructure to deprecated/
Relocate legacy static site generator configuration to clear
namespace for new Rust-based compiler:

- config.toml, netlify.toml
- sass/, templates/ directories
- themes/apollo submodule (updated .gitmodules path)

Content directory preserved at root for compatibility.
2026-01-24 18:30:58 -07:00
Timothy DeHerrera
99fb07d088 fix: preload fonts
requires copying the partials header from the template directory for now
2024-12-29 17:45:40 -07:00