askama
askama copied to clipboard
Type-safe, compiled Jinja-like templates for Rust
It would be helpful to have a copy of the "How to get started" readme section as a fully laid out [examples](https://doc.rust-lang.org/cargo/reference/manifest.html#examples) directory where someone could just drop in and...
Is there a way to pass parameters to the `includes`? Something like ``` // page.rs #[derive(Template)] #[template(path = "includes/widget.html")] struct Widget { a: String, b: String, } #[derive(Template)] #[template(path =...
Recursive includes don't work. Without those one can't build tree structures. This is just a note. I'm currently not interested in implementing this. Alternatively or rather additionally there's the jinja2...
I've been noticing it might reduce boilerplate to have something where you could create a "middleware" for each web framework, that would automatically set some properties of templates rendered beneath...
Is it possible with askama to extend a template from another crate? I'm trying to split parts of my web application into different "plugins", but I'd like there to be...
I love this project! However, as a web project evolves, it is not uncommon for old template files to accumulate and ultimately become dead code. It would be very cool...
It appears that most of what is in an `if` block gets translated straight into the generated Rust code, but askama fails to parse much Rust syntax. In my opinion,...
For some reason, kcov is not picking up correctly on my tests the way they're currently structured. Before 664398b225fe916cc0b2b74047e8aea060ea9214, it worked better, but not great. Ideally, we'd be able to...
There is gap between documented features in https://djc.github.io/askama/ and the actual behavior of the library when installing 0.11 (latest release on crates.io at time of writing.) Have you considered making...