Redirect frontpage

This commit is contained in:
2017-09-22 20:10:37 +02:00
parent 4ce0bed52c
commit 43f350f5d7
2 changed files with 7 additions and 4 deletions

View File

@ -5,7 +5,11 @@ component Sidebar(user *arn.User)
else
img.user-image.lazy(data-src="/images/brand/64", alt="Anime Notifier")
SidebarButton("Home", "/", "home")
if user != nil
SidebarButton("Home", "/animelist/watching", "home")
else
SidebarButton("Home", "/", "home")
SidebarButton("Forum", "/forum", "comment")
SidebarButton("Explore", "/explore", "th")
SidebarButton("Artworks", "/artworks", "paint-brush")