mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
Small fix for author page layout
still should get an overhaul
This commit is contained in:
parent
ff1099d23e
commit
c8a65ae6e1
1 changed files with 16 additions and 12 deletions
|
@ -1,19 +1,23 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'layout.html' %}
|
||||||
{% load fr_display %}
|
{% load fr_display %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div id="content">
|
<div class="content-container">
|
||||||
<div>
|
<h2>{{ author.name }}</h2>
|
||||||
<h2>{{ author.name }}</h2>
|
|
||||||
{% if author.bio %}
|
{% if author.bio %}
|
||||||
<blockquote>{{ author.bio | author_bio }}
|
<p>
|
||||||
</blockquote>
|
{{ author.bio | author_bio }}
|
||||||
{% endif %}
|
</p>
|
||||||
{% for book in books %}
|
{% endif %}
|
||||||
<div class="book-preview">
|
</div>
|
||||||
{% include 'snippets/book.html' with book=book size=large description=True %}
|
|
||||||
</div>
|
<div class="content-container">
|
||||||
{% endfor %}
|
<h2>Books by {{ author.name }}</h2>
|
||||||
|
{% for book in books %}
|
||||||
|
<div class="book-preview">
|
||||||
|
{% include 'snippets/book.html' with book=book size=large description=True %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue