forked from mirrors/bookwyrm
c8a65ae6e1
still should get an overhaul
23 lines
505 B
HTML
23 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 %}
|
|
|