Skip to main content

is_template

Function is_template 

Source
pub fn is_template(s: &str) -> bool
Expand description

Whether s contains template syntax at all. Plain values skip tera entirely, so a file with no templates costs nothing.