summaryrefslogblamecommitdiff
path: root/src/templates/mod.rs
blob: 8b8f156ad6d8e3e6e88ad7d26716c3e3775f22ac (plain) (tree)
1
2
                           
 














                                                                         
use handlebars::Handlebars;

lazy_static! {
    pub static ref REGISTRY: Handlebars<'static> = {
        let mut handlebars = Handlebars::new();
        handlebars
            .register_template_string("index", include_str!("index.hbs"))
            .unwrap();
        handlebars
            .register_template_string("login", include_str!("login.hbs"))
            .unwrap();
        handlebars
            .register_template_string("base", include_str!("base.hbs"))
            .unwrap();
        handlebars
    };
}