Skip to main content

render_template

Function render_template 

Source
pub fn render_template(template: &str, vars: &HashMap<String, String>) -> String
Expand description

Render a template using single-pass {{VAR}} substitution.

Missing variables are left intact, matching the shell template loader.