aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 9d374d6438a9f19819336e3aa8efcb931d49a97d (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
27
Unja  [![Build Status](https://img.shields.io/travis/dannyvankooten/unja/master)](https://travis-ci.org/dannyvankooten/unja)
 [![License: MIT](https://img.shields.io/github/license/dannyvankooten/unja)](https://github.com/dannyvankooten/unja/blob/master/LICENSE)
==========

A template engine for C, inspired by Jinja and Liquid. 

**This is nowhere near being stable right now!**

### Example

```html+jinja
{% 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