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

Hello everyone, I am trying the axum and the askama to deveop a web app frist, and I code as the example, but it still reports error. What should i...

Add cifuzz workflow action to have fuzzers build and run on each PR. This is a service offered by oss-fuzz where askama already runs. cifuzz can help catch shallow bugs,...

This PR adds the file `.readthedocs.yaml`, which is used by readthedocs.org to generate the book on their servers. RTD can be used to easily host docs for every Askama version,...

Currently, only the `main` branch book version is published online, which is very confusing if you're using this version (which I assume is the most common case...). Instead, why not...

We've accumulated quite a bunch of stuff, and should probably release some time soon. Any thoughts on open issues/PRs (especially changes that affect the public API/behavior) that shouldn't miss the...

I expected this code: ```jinja {%- if let Some(query) = search_query && !query.is_empty() %} ``` To either emit an error about the `&&` after `if let Some` or to work,...

Currently, code like: ```jinja {%- include "theme.js" -%} ``` generates: ```rust ::std::write!( writer, "\n\n ", expr2 = &::askama::MarkupDisplay::new_unsafe(&(self.csp_nonce), ::askama::Html), )?; include_bytes! ("/home/imperio/rust/docs.rs/templates/theme.js"); writer.write_str("(function() {\n function applyTheme(theme) {\n if (theme) {\n...

This complements the testing for https://github.com/djc/askama/pull/1029/files with respect to inheriting templates. The tests will pass after the fix PR is merged and this branch is updated.

Fixes #1022. Problem was that we were still rendering the content into the `WritableBuffer`.

When using askama_axum, the automatic import of IntoResponse will preferentially import from askama_axum instead of axum::response.