* Exposing page::default_map

+ Max width for login form
This commit is contained in:
shockrah 2022-02-02 23:04:22 -08:00
parent 7b04401893
commit b2296ff4ca
2 changed files with 7 additions and 1 deletions

View File

@ -19,7 +19,7 @@ lazy_static! {
};
}
fn default_map() -> HashMap<&'static str, String> {
pub fn default_map() -> HashMap<&'static str, String> {
let mut h: HashMap<&'static str, String> = HashMap::new();
h.insert("sitetitle", SITENAME.clone());
h.insert("sitedesc", SITEDESC.clone());

View File

@ -75,3 +75,9 @@ video {
.pure-img {
border-radius: 0.5em;
}
/* TODO: put this behind some conditional compilation */
.login-form {
max-width: 500px;
margin: 0 auto;
}