pub fn init(dir: &str) -> Result<(), String>Available on crate feature
tera only.Expand description
Initialize the global template engine from a directory on disk.
Call once at startup before any handlers run. Subsequent calls return an Err.