diff --git a/bookwyrm/templates/author/author.html b/bookwyrm/templates/author/author.html index 2f3ed6f03..27beeb468 100644 --- a/bookwyrm/templates/author/author.html +++ b/bookwyrm/templates/author/author.html @@ -23,18 +23,13 @@ -
+
- {% if author.bio %} -
- {% include "snippets/trimmed_text.html" with full=author.bio trim_length=200 %} -
- {% endif %} {% firstof author.aliases author.born author.died as details %} {% firstof author.wikipedia_link author.openlibrary_key author.inventaire_id author.isni as links %} {% if details or links %} -
+
{% if details %}

{% trans "Author details" %}

@@ -137,26 +132,28 @@ {% endif %}
{% endif %} -
- +
+ {% if author.bio %} + {% include "snippets/trimmed_text.html" with full=author.bio trim_length=200 %} + {% endif %} -
-

{% blocktrans with name=author.name %}Books by {{ name }}{% endblocktrans %}

-
- {% for book in books %} -
-
- {% include 'landing/small-book.html' with book=book %} +

{% blocktrans with name=author.name %}Books by {{ name }}{% endblocktrans %}

+
+ {% for book in books %} +
+
+ {% include 'landing/small-book.html' with book=book %} +
+ {% include 'snippets/shelve_button/shelve_button.html' with book=book %}
- {% include 'snippets/shelve_button/shelve_button.html' with book=book %} + {% endfor %} +
+ +
+ {% include 'snippets/pagination.html' with page=books %}
- {% endfor %}
-
- {% include 'snippets/pagination.html' with page=books %} -
- {% endblock %}