Viscous.js is a simple and straightforward templating engine, similar to Liquid(.js), but with some modifications so that it's nicer to use:
{% else if %}
and {% elseif %}
are
acceptable variations of {% elsif %}
, and
{% end %}
can be used instead of
{% endXYZ %}
.