{% extends 'layout.html' %} {% load i18n %} {% load bookwyrm_tags %} {% load humanize %} {% 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 %}
{% if author.aliases %}
{% trans "Aliases:" %}
{{ author.aliases|join:', ' }}
{% endif %} {% if author.born %}
{% trans "Born:" %}
{{ author.born|naturalday }}
{% endif %} {% if author.aliases %}
{% trans "Died:" %}
{{ author.died|naturalday }}
{% endif %}
{% if author.wikipedia_link %}

{% trans "Wikipedia" %}

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

{% trans "View on OpenLibrary" %}

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

{% trans "View on Inventaire" %}

{% 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 'discover/small-book.html' with book=book %}
{% endfor %}
{% endblock %}