pub fn loader_env(
template_dir: &str,
embedded: &'static HashMap<&'static str, &'static str>,
) -> Environment<'static>Expand description
An environment that resolves a template name to a template_dir file first
and the compiled-in default second.
The override is per file, not per directory: a template_dir holding only
layout.html changes the chrome of every page and leaves everything else at
its default.