Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 783 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 783 Bytes

Tera

For v1 users: see migration guide.

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.

See the here for changes to tera and there for tera-contrib.