aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui/home.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-05-16 19:35:29 +0200
committermetamuffin <metamuffin@disroot.org>2023-05-16 19:35:29 +0200
commitb0d77c36ba632b91d65047716ca0a3e4176eaf4c (patch)
tree881d5448b5f28dabe4f6eeb7ace1bb4f50af5fc6 /server/src/routes/ui/home.rs
parent3eda83a00f1c3e065a3e36675b40cc240cdb6ed6 (diff)
downloadjellything-b0d77c36ba632b91d65047716ca0a3e4176eaf4c.tar
jellything-b0d77c36ba632b91d65047716ca0a3e4176eaf4c.tar.bz2
jellything-b0d77c36ba632b91d65047716ca0a3e4176eaf4c.tar.zst
add class to layout
Diffstat (limited to 'server/src/routes/ui/home.rs')
-rw-r--r--server/src/routes/ui/home.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/routes/ui/home.rs b/server/src/routes/ui/home.rs
index f81e04f..dde2369 100644
--- a/server/src/routes/ui/home.rs
+++ b/server/src/routes/ui/home.rs
@@ -20,6 +20,7 @@ pub fn r_home(_sess: Session, library: &State<Library>) -> DynLayoutPage {
p { "Welcome to " @CONF.brand }
@NodePage { node: library.root.clone() }
},
+ ..Default::default()
}
}
@@ -31,5 +32,6 @@ pub async fn r_home_unpriv() -> MyResult<DynLayoutPage<'static>> {
content: markup::new! {
@markup::raw(&front)
},
+ ..Default::default()
})
}