diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..7ebfba3 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +Unja +===== + +Unja is (an attempt at) a template engine for C, inspired by Jinja and Liquid. + +This is nowhere near being stable right now. + +### Example + +``` +{% extends "base.html" %} + +{% block title %}Members{% endblock %} + +{% block content %} + <ul> + {% for user in users %} + <li><a href="{{ user.url }}">{{ user.username }}</a></li> + {% endfor %} + </ul> +{% endblock %} +``` + +### License + +Unlicensed (to be decided).
\ No newline at end of file |