pub mod escape;
pub mod stack;
pub mod vite;
pub use askama;
pub use askama::Template;
pub trait View: askama::Template {
fn render_view(&self) -> Result<String, askama::Error> {
let raw = self.render()?;
Ok(stack::postprocess(&raw))
}
}
impl<T: askama::Template> View for T {}