mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
Small fix for author page layout
still should get an overhaul
This commit is contained in:
parent
ff1099d23e
commit
c8a65ae6e1
1 changed files with 16 additions and 12 deletions
|
@ -1,19 +1,23 @@
|
|||
{% extends 'layout.html' %}
|
||||
{% load fr_display %}
|
||||
{% block content %}
|
||||
<div id="content">
|
||||
<div>
|
||||
<div class="content-container">
|
||||
<h2>{{ author.name }}</h2>
|
||||
|
||||
{% if author.bio %}
|
||||
<blockquote>{{ author.bio | author_bio }}
|
||||
</blockquote>
|
||||
<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>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue