pub fn render(template_name: &str, data: Map) -> Result<String, Error>
view
Renders a template with the given data using minijinja.
minijinja