Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
docs/ | H | 03-May-2022 | - | 5 | 3 | |
src/ | H | 03-May-2022 | - | 13,265 | 10,855 | |
.cargo-checksum.json | H A D | 03-May-2022 | 89 | 1 | 1 | |
.cargo_vcs_info.json | H A D | 01-Jan-1970 | 74 | 6 | 5 | |
CHANGELOG.md | H A D | 01-Jan-1970 | 14.6 KiB | 443 | 301 | |
Cargo.lock | H A D | 01-Jan-1970 | 20 KiB | 794 | 705 | |
Cargo.toml | H A D | 01-Jan-1970 | 2 KiB | 89 | 71 | |
Cargo.toml.orig-cargo | H A D | 01-Jan-1970 | 1.5 KiB | 51 | 45 | |
LICENSE | H A D | 01-Jan-1970 | 1.1 KiB | 23 | 17 | |
README.md | H A D | 01-Jan-1970 | 1.4 KiB | 32 | 23 |
README.md
1# Tera 2 3[![Actions Status](https://github.com/Keats/tera/workflows/ci/badge.svg)](https://github.com/Keats/tera/actions) 4[![Crates.io](https://img.shields.io/crates/v/tera.svg)](https://crates.io/crates/tera) 5[![Docs](https://docs.rs/tera/badge.svg)](https://docs.rs/crate/tera/) 6[![Gitter](https://badges.gitter.im/Tera-templates/community.svg)](https://gitter.im/Tera-templates/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) 7 8Tera is a template engine inspired by [Jinja2](http://jinja.pocoo.org/) and the [Django template language](https://docs.djangoproject.com/en/3.1/topics/templates/). 9 10```jinja2 11<title>{% block title %}{% endblock title %}</title> 12<ul> 13{% for user in users %} 14 <li><a href="{{ user.url }}">{{ user.username }}</a></li> 15{% endfor %} 16</ul> 17``` 18 19It does not aim to be 100% compatible with them but has many of the Jinja2/Django filters and testers. 20 21## Documentation 22API documentation is available on [docs.rs](https://docs.rs/crate/tera/). 23 24Tera documentation is available on its [site](https://tera.netlify.app/docs). 25 26## Community 27There's a gitter community chat (not managed/used by @Keats): https://gitter.im/Tera-templates/community 28 29## SemVer 30This project follows SemVer only for the public API, public API here meaning functions appearing in the docs. 31Some features, like accessing the AST, are also available but breaking changes in them can happen in any versions. 32