{% extends 'layout.html' %} {% load i18n %} {% load markdown %} {% load humanize %} {% load utilities %} {% block title %}{{ author.name }}{% endblock %} {% block content %}

{{ author.name }}

{% if request.user.is_authenticated and perms.bookwyrm.edit_book %} {% endif %}
{% if author.aliases or author.born or author.died or author.wikipedia_link or author.openlibrary_key or author.inventaire_id or author.isni %}
{% if author.aliases %}
{% trans "Aliases:" %}
{% for alias in author.aliases %}
{{alias}}{% if not forloop.last %}, {% endif %}
{% endfor %}
{% endif %} {% if author.born %}
{% trans "Born:" %}
{{ author.born|naturalday }}
{% endif %} {% if author.died %}
{% trans "Died:" %}
{{ author.died|naturalday }}
{% endif %}
{% if author.wikipedia_link %}

{% trans "Wikipedia" %}

{% endif %} {% if author.isni %}

{% trans "View ISNI record" %}

{% endif %} {% if author.openlibrary_key %}

{% trans "View on OpenLibrary" %}

{% endif %} {% if author.inventaire_id %}

{% trans "View on Inventaire" %}

{% endif %} {% if author.librarything_key %}

{% trans "View on LibraryThing" %}

{% endif %} {% if author.goodreads_key %}

{% trans "View on Goodreads" %}

{% endif %}
{% endif %}
{% if author.bio %} {{ author.bio|to_markdown|safe }} {% endif %}

{% 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 %}
{% endfor %}
{% include 'snippets/pagination.html' with page=books %}
{% endblock %}