askama icon indicating copy to clipboard operation
askama copied to clipboard

Type-safe, compiled Jinja-like templates for Rust

Results 175 askama issues
Sort by recently updated
recently updated
newest added

Right now askama uses a module as the source of filter functions. This works well in general, but has issues if the filter requires some state. In that case you'd...

Adds support for rendering partial templates from existing templates without requiring that the template be split into multiple, `include`d files. This feature is enabled using the new `block` sub-attribute on...

This feature would really improve on the fly restructuring of option data in tuples in order to match them more efficient. It has been mentioned before, but not been implemented...

I'm starting to use askama with warp. I'm finding the askama documentation is too terse for beginners like me. Thankfully, I found the blog post [Template rendering in Rust -...

After reading the conversations on #423 and #492 I'm convinced that filters that take `Copy` types should heceforth accept their parameters by value. This makes filters very nicely line up...

I ran into this issue with trying to use ```rust use askama::Template; struct Node { data: String, children: Vec, } #[derive(Template)] #[template(path = "index.html", print = "code")] struct Test {...

This is a tracking issue of an excerpt of unsupported Jinja features, as specified in Jinja's [Template Designer Documentation]. The goal is not to list all unsupported features, but mainly...

Various pages in the askama doco claim to point to 'the book' but they just go to a single overview page.

The current `CompileError` enum only accepts strings, so it cannot preserve spans that were available during AST parsing. This means errors are less precise than they could be; they highlight...

Splitting meta-items across multiple attribute tags leads to some options being silently ignored. ```rust #[derive(Template)] #[template(source = "...", ext = "...")] #[template(escape = "...")] // SILENTLY IGNORED pub struct Sample...