tera 2.0.0

A template engine for Rust based on Jinja2/Django
Documentation

Tera

For v1 users: see migration guide.

v1 repository is still available in https://github.com/Keats/tera1. v2 is a from-scratch rewrite and it didn't make sense to just overwrite the whole repo to me.

Tera is a template engine inspired by Jinja2 and the Django template language.

<title>{% block title %}{% endblock title %}</title>
<ul>
{% for user in users %}
  <li><a href="{{ user.url }}">{{ user.username }}</a></li>
{% endfor %}
</ul>

It intentionally deviates from Jinja2/Django in many ways, only the overall look and feel is similar.

Documentation

API documentation is available on docs.rs.

Tera documentation is available on its site.