Keats/tera

Public

A template engine for Rust based on Jinja2/Django

  • Stars4.3k+6 tuần này
  • Forks348
  • Watchers25
  • Issues5
  • Ngày tạo18/07/2015
  • Cập nhật gần nhất27/10/2026
  • Ngôn ngữRust
  • Giấy phépMIT
README.md2.7 KBRaw

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.

Nội dung README thuộc về Keats và cộng đồng đóng góp, giấy phép MIT. Nguồn: github.com/Keats/tera