aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 7ebfba39c26457f2309c2b908e7557f1c20f9031 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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).