Trait trillium_askama::AskamaConnExt[][src]

pub trait AskamaConnExt {
    fn render(self, template: impl Template) -> Self;
}
Expand description

extends trillium conns with the ability to render askama templates

Required methods

renders an askama template, halting the conn and setting a 200 status code. also sets the mime type based on the template extension

Implementations on Foreign Types

Implementors