Skip to content
/ curly Public

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

License

Notifications You must be signed in to change notification settings

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages