karver
karver copied to clipboard
A simple template engine inspired by jinja2
I wonder why the `Object` constructor in the `Value` data type holds a map of `Text` to `Text`, not `Text` to `Value`s? ``` data Value = Literal Text | Object...
right now a non-existent include raises an error and parse errors or lookup errors in the context will just render nonsensical text without the calling application being aware of it....
As of commit 7f62a10541, karver only evaluates logic of the if statement as a check for a variable's existence. **Example**: ``` {% if title %} {{ title }} {% else...