bookwyrm/fedireads/templates/author.html
Mouse Reeve c8a65ae6e1 Small fix for author page layout
still should get an overhaul
2020-03-16 17:45:57 -07:00

24 lines
505 B
HTML

{% extends 'layout.html' %}
{% load fr_display %}
{% block content %}
<div class="content-container">
<h2>{{ author.name }}</h2>
{% if author.bio %}
<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>
{% endblock %}