aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 6072aa813151b5bdd09a91c93fc7356d349e60de (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

MIT