Function weld_codegen::templates_from_dir[][src]

pub fn templates_from_dir(start: &Path) -> Result<Vec<(String, String)>>
Expand description

Add all templates from the specified folder, using the base file name as the template name. For example, “header.hbs” will be registered as “header”