diff options
author | cel 🌸 <cel@blos.sm> | 2023-12-11 13:57:51 +0000 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-12-11 13:57:51 +0000 |
commit | 5dc4774ed3380762b4d7aadc86193af6073c456a (patch) | |
tree | cc8af98d94a0566ec19e4ca2f3cfd3800a7c5423 /templates/home.rs.html | |
parent | 159b239aa2964f6c07438638b967746354376b2e (diff) | |
download | pinussy-5dc4774ed3380762b4d7aadc86193af6073c456a.tar.gz pinussy-5dc4774ed3380762b4d7aadc86193af6073c456a.tar.bz2 pinussy-5dc4774ed3380762b4d7aadc86193af6073c456a.zip |
implement log-out
Diffstat (limited to 'templates/home.rs.html')
-rw-r--r-- | templates/home.rs.html | 10 |
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> + } +}) |