askama
askama copied to clipboard
Type-safe, compiled Jinja-like templates for Rust
Basically what the title says. To give an example of what I mean, this here compiles just fine: ```html {% for (route, name) in [ ("/about", "About"), ("/contact", "Contact"), ("/events",...
Add note in which version block attribute will be released
With `expr` delimiters ``, trying to use the template ` and ` complains about `and` not being a field. Here is a full example that produces the error "no field...
### Description When rendering a nested block as a fragment, an if-else-endif clause in the outer block causes this error message: ``` error: dedent() called while indentation == 0 -->...
As requested in https://github.com/djc/askama/issues/1075#issuecomment-2244980638
So I did some research and I'd like to open this as a discussion because I haven't been able to find a good solution to this convention. ## Problem Just...
We're using askama for codegen (thanks for the wonderful work!) and all of our templates are instantiated with `#[template(path = ..., escape = "none)]`. It would be nice if we...
This will fix: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66029. This pr includes all the work at https://github.com/djc/askama/pull/979 done by @djc as well as updated ui test. For ui test: I think previous input for filter-recursion...
I do not believe there is a syntax available in the template syntax to pattern match on remaining values, like how you can do with structs in regular Rust: ```rust...
Failing test with include in a fragment See https://github.com/djc/askama/issues/1063