mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 13:01:08 +00:00
976e7ddf79
Fixes #93
28 lines
692 B
HTML
28 lines
692 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>
|
|
<div class="book-grid row shrink wrap">
|
|
{% for book in books %}
|
|
<div class="book-preview">
|
|
<a href="{{ book.absolute_id }}">
|
|
{% include 'snippets/book_cover.html' with book=book %}
|
|
</a>
|
|
{% include 'snippets/shelve_button.html' with book=book %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|