diff options
Diffstat (limited to 'src/frontend/templates/mod.rs')
-rw-r--r-- | src/frontend/templates/mod.rs | 8 |
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" } } } } |