Skip to main content

render_template

Function render_template 

Source
fn render_template(
    tera: &Tera,
    template_name: &str,
    title: &str,
    content: &str,
) -> Result<String>
Expand description

Render the Tera template with the given title and format-specific content.