[go: up one dir, main page]

tera 0.3.1

Jinja2/Django templates in pure Rust
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate tera;

use tera::Tera;

#[test]
fn test_can_load_templates() {
    let tera = Tera::new("tests/templates/**/*");

    assert!(tera.get_template("basic.html").is_ok());
}