bookwyrm/fedireads/templates/author.html

29 lines
689 B
HTML
Raw Normal View History

2020-02-11 06:32:03 +00:00
{% 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>
2020-04-02 02:38:07 +00:00
<div class="book-grid row shrink wrap">
{% for book in books %}
<div class="book-preview">
2020-05-04 01:07:06 +00:00
<a href="/book/{{ book.id }}">
2020-04-02 02:38:07 +00:00
{% include 'snippets/book_cover.html' with book=book %}
</a>
{% include 'snippets/shelve_button.html' with book=book %}
</div>
{% endfor %}
2020-02-11 06:32:03 +00:00
</div>
</div>
{% endblock %}