mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 08:36:32 +00:00
Hide login form for authenticated users
This commit is contained in:
parent
0247f89c0b
commit
7242adadaa
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'layout.html' %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
|
{% if not request.user.is_authenticated %}
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<h1 class="title has-text-centered">{{ site.name }}: Social Reading and Reviewing</h1>
|
<h1 class="title has-text-centered">{{ site.name }}: Social Reading and Reviewing</h1>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,6 +26,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
{% else %}
|
||||||
|
<div class="block">
|
||||||
|
<h1 class="title has-text-centered">Discover</h1>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="block is-hidden-tablet">
|
<div class="block is-hidden-tablet">
|
||||||
<h2 class="title has-text-centered">Recent Books</h2>
|
<h2 class="title has-text-centered">Recent Books</h2>
|
||||||
|
|
Loading…
Reference in a new issue