render_rel_path

Function render_rel_path 

Source
pub fn render_rel_path<'a>(rel: &'a str, ito_dir: &str) -> Cow<'a, str>
Expand description

Rewrite a relative template path for a custom Ito directory.

When ito_dir is .ito, this returns rel unchanged.