Macro tera::compile_templates
source · macro_rules! compile_templates {
($glob: expr) => { ... };
}
Expand description
Compile templates or exits process
Takes a glob as only argument. If it fails, it will print all the errors and exit the process
ⓘ
let mut tera = compile_templates!("templates/**/*");