From 7242adadaaca5302f47201b9182b69a6539528d1 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 3 Jan 2021 14:31:32 -0800 Subject: [PATCH] Hide login form for authenticated users --- bookwyrm/templates/discover.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bookwyrm/templates/discover.html b/bookwyrm/templates/discover.html index 698b4a341..253001f65 100644 --- a/bookwyrm/templates/discover.html +++ b/bookwyrm/templates/discover.html @@ -1,6 +1,7 @@ {% extends 'layout.html' %} {% block content %} +{% if not request.user.is_authenticated %}

{{ site.name }}: Social Reading and Reviewing

@@ -25,6 +26,11 @@ +{% else %} +
+

Discover

+
+{% endif %}

Recent Books