about summary refs log tree commit diff
path: root/src/frontend/templates/mod.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-12-07 16:18:27 +0300
committerVika <vika@fireburn.ru>2021-12-07 16:18:27 +0300
commit080b925ce13242d69bf0af9e7ca5300173b94785 (patch)
treeafbdccc5a4b230635cc530053d0892a9a220ee4b /src/frontend/templates/mod.rs
parent6d853ace9419e9abaa5959f5dba6f51646dea09c (diff)
downloadkittybox-080b925ce13242d69bf0af9e7ca5300173b94785.tar.zst
Migrate to Rust 2021
Diffstat (limited to 'src/frontend/templates/mod.rs')
-rw-r--r--src/frontend/templates/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/templates/mod.rs b/src/frontend/templates/mod.rs
index e6dec51..bf30fa1 100644
--- a/src/frontend/templates/mod.rs
+++ b/src/frontend/templates/mod.rs
@@ -46,18 +46,18 @@ markup::define! {
             }
             body {
                 // TODO Somehow compress headerbar into a menu when the screen space is tight
-                nav#headerbar {
+                nav #headerbar {
                     ul {
-                        li { a#homepage[href="/"] { @blog_name } }
+                        li { a #homepage[href="/"] { @blog_name } }
                         @for feed in feeds.iter() {
                             li { a[href=&feed.uid] { @feed.name } }
                         }
                         li.shiftright {
                             @if user.is_none() {
-                                a#login[href="/login"] { "Sign in" }
+                                a #login[href="/login"] { "Sign in" }
                             } else {
                                 span {
-                                    @user.as_ref().unwrap() " - " a#logout[href="/logout"] { "Sign out" }
+                                    @user.as_ref().unwrap() " - " a #logout[href="/logout"] { "Sign out" }
                                 }
                             }
                         }