aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/pages/home.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-01-10 08:44:06 +0100
committermetamuffin <metamuffin@disroot.org>2023-01-10 08:44:06 +0100
commit0c30e065b678d41d8932b3bf0926608cfa15a7ac (patch)
tree0dd1c03c25ed49b97985d840790b108f2d4fe967 /src/frontend/pages/home.rs
parentc64d3cd8cda389909b4b3dbdf00c0710e2c9a490 (diff)
downloadjellything-0c30e065b678d41d8932b3bf0926608cfa15a7ac.tar
jellything-0c30e065b678d41d8932b3bf0926608cfa15a7ac.tar.bz2
jellything-0c30e065b678d41d8932b3bf0926608cfa15a7ac.tar.zst
first listing
Diffstat (limited to 'src/frontend/pages/home.rs')
-rw-r--r--src/frontend/pages/home.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/pages/home.rs b/src/frontend/pages/home.rs
index a694c3c..bb0eb59 100644
--- a/src/frontend/pages/home.rs
+++ b/src/frontend/pages/home.rs
@@ -5,9 +5,9 @@ use crate::{
use actix_web::{get, web::Data, Responder};
#[get("/")]
-async fn page_home(state: Data<AppState>) -> impl Responder {
+pub async fn page_home(state: Data<AppState>) -> impl Responder {
HtmlTemplate(Layout {
- title: "Home - Jellything",
+ title: String::from("Home"),
main: markup::new! {
h1 { "It works!" }
},