Skip to main content

load_template

Function load_template 

Source
pub fn load_template(
    template: &str,
    params: Vec<(&str, &str)>,
    assets: Option<Vec<&str>>,
) -> String
Expand description

Renders a Tera template with the given parameters and optional asset list. Automatically injects session_message (empty if not provided) and assets.