Skip to content
forked from Keats/tera

A template engine for Rust based on Jinja2/Django

License

Notifications You must be signed in to change notification settings

SergioBenitez/tera

 
 

Repository files navigation

Tera

Actions Status Crates.io Docs Gitter

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 does not aim to be 100% compatible with them but has many of the Jinja2/Django filters and testers.

Documentation

API documentation is available on docs.rs.

Tera documentation is available on its site.

SemVer

This project follows SemVer only for the public API, public API here meaning functions appearing in the docs. Some features, like accessing the AST, are also available but breaking changes in them can happen in any versions.

About

A template engine for Rust based on Jinja2/Django

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.7%
  • HTML 0.3%