use std::sync::Arc;
mod index;
mod landing;
mod listing;
mod logout;
mod session;
mod error;
mod upload;
mod profile;
pub fn environment() -> Arc<minijinja::Environment<'static>> {
let mut env = minijinja::Environment::new();
env.add_template_owned("index", index::get_content()).unwrap();
env.add_template_owned("landing", landing::get_content()).unwrap();
env.add_template_owned("listing", listing::get_content()).unwrap();
env.add_template_owned("logout", logout::get_content()).unwrap();
env.add_template_owned("session", session::get_content()).unwrap();
env.add_template_owned("error", error::get_content()).unwrap();
env.add_template_owned("upload", upload::get_content()).unwrap();
env.add_template_owned("profile", profile::get_content()).unwrap();
Arc::new(env)
}