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 }}
</p>
{% endif %} {% endif %}
</div>
<div class="content-container">
<h2>Books by {{ author.name }}</h2>
{% for book in books %} {% for book in books %}
<div class="book-preview"> <div class="book-preview">
{% include 'snippets/book.html' with book=book size=large description=True %} {% include 'snippets/book.html' with book=book size=large description=True %}
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
</div>
{% endblock %} {% endblock %}