Updates for askama

This commit is contained in:
2026-01-08 10:51:09 -08:00
parent 475c552e3a
commit bb7721dbc6

View File

@@ -34,6 +34,7 @@ const TEXT_PLAIN: &'static str = "text/plain";
// Inline Askama filters module for template use
mod filters {
// Usage: {{ items|batch(7) }}
#[askama::filter_fn]
pub fn batch<T: Clone>(
items: &[T],
_: &dyn ::askama::Values,