Skip to main content

render

Function render 

Source
pub fn render(template: &str, ctx: &TemplateContext) -> String
Expand description

Render a template with the given context.

Convenience function equivalent to ctx.render(template).