aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/pages/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/pages/layout.rs')
-rw-r--r--src/frontend/pages/layout.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/frontend/pages/layout.rs b/src/frontend/pages/layout.rs
index e02336d..5654d3b 100644
--- a/src/frontend/pages/layout.rs
+++ b/src/frontend/pages/layout.rs
@@ -1,17 +1,19 @@
use markup::Render;
markup::define! {
- Layout<'a, Main: Render>(title: &'a str, main: Main) {
+ Layout<Main: Render>(title: String, main: Main) {
@markup::doctype()
html {
head {
- title { @title }
+ title { @title " - Jellything" }
link[rel="stylesheet", href="/assets/style.css"];
}
body {
- header { "Grain" }
+ nav {
+ h1 { "Jellything" }
+
+ }
#main { @main }
- footer { span { "jellything" } }
}
}
}