summaryrefslogtreecommitdiffstats
path: root/templates/home.rs.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/home.rs.html')
-rw-r--r--templates/home.rs.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/home.rs.html b/templates/home.rs.html
new file mode 100644
index 0000000..882b2ed
--- /dev/null
+++ b/templates/home.rs.html
@@ -0,0 +1,10 @@
+@use super::base_html;
+@use crate::User;
+
+@(user: Option<String>)
+
+@:base_html(user.clone(), None, {
+ @if let Some(username) = user {
+ <h1>logged in as @username</h1>
+ }
+})