aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/routes/ui/home.rs1
-rw-r--r--server/src/routes/ui/layout.rs1
2 files changed, 1 insertions, 1 deletions
diff --git a/server/src/routes/ui/home.rs b/server/src/routes/ui/home.rs
index 74e9b02..ed9f7c1 100644
--- a/server/src/routes/ui/home.rs
+++ b/server/src/routes/ui/home.rs
@@ -77,7 +77,6 @@ pub fn r_home(sess: Session, db: &State<Database>) -> MyResult<DynLayoutPage> {
Ok(LayoutPage {
title: "Home".to_string(),
content: markup::new! {
- p { "Welcome back, " @sess.user.display_name }
h2 { "Explore " @CONF.brand }
.homelist { ul {@for (id, node, udata) in &toplevel {
li { @NodeCard { id, node, udata } }
diff --git a/server/src/routes/ui/layout.rs b/server/src/routes/ui/layout.rs
index d12dc26..d4d443c 100644
--- a/server/src/routes/ui/layout.rs
+++ b/server/src/routes/ui/layout.rs
@@ -33,6 +33,7 @@ markup::define! {
html {
head {
title { @title " - " @CONF.brand }
+ meta[name="viewport", content="width=device-width, initial-scale=1.0"];
link[rel="stylesheet", href="/assets/style.css"];
script[src="/assets/bundle.js"] {}
}