Skip to content
项目

关于

基于 Jinja2/Django 的 Rust 模板引擎

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
+3
15天
+7
1个月
+16

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

AI

AI contributions are allowed but a human is still responsible for it: you should understand the changes in a PR and be able to explain them without pasting questions in your LLM. Do not open an issue/PR without verifying it yourself. Do not create a PR to improve performance of something that will never be a realistic use case.

探索相关项目

加载中…