Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 708 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 708 Bytes

curly

Build Status codecov

An example of the minimal template engine, mostly to show an idea how to implement such stuff.

Hello {{ first_name }},
{% if last_name %}
    {{ last_name }}
{% elif title %}
    {{ title }}
{% else %}
    Doe
{% /if %}!

Here is the list of stuff I like:

{% loop stuff %}
  - {{ item.key }} (because of {{ item.value }})
{% /loop %}

And that is all!