🧾 Rotkeeper Template Rituals
These templates define how rendered HTML outputs look across
different parts of the Rotkeeper system. They’re consumed by
rc-render.sh and selected using
render-flags.yaml.
Each template lives in:
bones/templates/
📄 Template List
| Template File | Purpose | Style |
|---|---|---|
rotkeeper-doc.html |
Maximalist aesthetic / Sora-centric docs | Glitchy |
rotkeeper-blog.html |
Clean Bootstrap with metadata block | Readable |
rotkeeper-bones.html |
Raw Pandoc passthrough (no layout) | Skeleton only |
rotkeeper-tech.html |
[planned] For manuals, scripts, flags | CLI-friendly |
⚙️ How Rendering Works
Template selection is configured in render-flags.yaml
using the keys:
template_dir: bones/templates/
default_template: rotkeeper-doc.html
per_path:
docs/bones/scripts: rotkeeper-tech.html
docs/blog: rotkeeper-blog.html
docs/mascots: rotkeeper-doc.html🧠 Metadata Access
Each template can access the following injected fields:
$title$$subtitle$$date$$asset-meta$$body$(main rendered content)$sora-prompt$(optional block from markdown)
🔮 Future Plans
- Add
rotkeeper-mascot.htmlfor character bios - Add
rotkeeper-log.htmlfor dev logs and audits - Add dark-mode toggle or per-mascot themes