{% extends "layout.html" %} {% block body %}

{{title}}

{% if author is not none %}
{%if author.image_url is not none %} {{author.name}} {% endif %} {%if author.about is not none %}

{{author.about|safe}}

{% endif %}
Goodreads
{% endif %}
{% if entries[0] %} {% for entry in entries %}

{{entry.title|shortentitle}}

{% for author in entry.authors %} {{author.name}} {% if not loop.last %} & {% endif %} {% endfor %}

{% if entry.ratings.__len__() > 0 %}
{% for number in range((entry.ratings[0].rating/2)|int(2)) %} {% if loop.last and loop.index < 5 %} {% for numer in range(5 - loop.index) %} {% endfor %} {% endif %} {% endfor %}
{% endif %}
{% endfor %} {% endif %}
{% endblock %}