A just-enough template language
Sontag is a template language in the vein of Twig, Liquid, Jinja, and Nunjucks, that’s meant to be used with JavaScript static site generators.
Some goals:
- Lean into JavaScript in favor of custom language constructs.
- The runtime should be ESM-ready and
async
-compatible. - As little API surface as we can get away with. Ideally provide a single, good way to do things.
An informal specification is available for the Sontag template language.
A work-in-progress implementation is available on GitHub at marceljs/sontag.
Related projects
Marcel
WIP Marcel, a static website generator.