Small fix for author page layout

still should get an overhaul
This commit is contained in:
Mouse Reeve 2020-03-16 17:33:53 -07:00
parent ff1099d23e
commit c8a65ae6e1

View file

@ -1,19 +1,23 @@
{% extends 'layout.html' %}
{% load fr_display %}
{% block content %}
<div id="content">
<div>
<div class="content-container">
<h2>{{ author.name }}</h2>
{% if author.bio %}
<blockquote>{{ author.bio | author_bio }}
</blockquote>
<p>
{{ author.bio | author_bio }}
</p>
{% endif %}
</div>
<div class="content-container">
<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>
{% endfor %}
</div>
</div>
{% endblock %}