use handlebars::Handlebars; pub fn init() -> Handlebars<'static> { let mut handlebars = Handlebars::new(); handlebars .register_template_string("index", include_str!("index.hbs")) .unwrap(); handlebars .register_template_string("base", include_str!("base.hbs")) .unwrap(); handlebars }