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' %} {% 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 %}