Skip to content

9seconds/curly

Repository files navigation

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!

About

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

Resources

License

Stars

5 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages