https://github.com/9seconds/curly
An example of the minimal template engine, mostly to show an idea how to implement such stuff
https://github.com/9seconds/curly
Last synced: 3 months ago
JSON representation
An example of the minimal template engine, mostly to show an idea how to implement such stuff
- Host: GitHub
- URL: https://github.com/9seconds/curly
- Owner: 9seconds
- License: mit
- Created: 2017-03-29T06:57:57.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-16T07:43:07.000Z (about 9 years ago)
- Last Synced: 2025-04-14T14:44:50.968Z (about 1 year ago)
- Language: Python
- Homepage: https://9seconds.github.io/curly/
- Size: 1.92 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# curly
[](https://travis-ci.org/9seconds/curly) [](https://codecov.io/gh/9seconds/curly)
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!
```
* [Official website](https://9seconds.github.io/curly/)
* [Documentation](https://curly.readthedocs.io)