cat_gateway::jinja

Function get_template

Source
pub(crate) fn get_template(
    temp: &JinjaTemplateSource,
) -> Result<Template<'static, '_>>
Expand description

Returns a template from the jinja environment, returns error if it does not exit.