Skip to main content

render

Function render 

Source
pub fn render(template_name: &str, ctx: &Context) -> Result<Response, String>
Available on crate feature tera only.
Expand description

Render template_name with ctx using the global engine and return a 200 OK HTML response.