aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui/home.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/routes/ui/home.rs')
-rw-r--r--server/src/routes/ui/home.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/routes/ui/home.rs b/server/src/routes/ui/home.rs
index df95665..04a4c7d 100644
--- a/server/src/routes/ui/home.rs
+++ b/server/src/routes/ui/home.rs
@@ -1,4 +1,5 @@
use crate::routes::ui::node::NodePage;
+use crate::CONF;
use crate::{routes::ui::HtmlTemplate, AppState};
use rocket::{get, State};
@@ -7,7 +8,7 @@ pub async fn r_home(state: &State<AppState>) -> HtmlTemplate<markup::DynRender>
HtmlTemplate(
"Home".to_string(),
markup::new! {
- p { "Welcome to Jellything" }
+ p { "Welcome to " @CONF.brand }
@NodePage { node: state.library.root.clone() }
},
)