{% extends "layout.html" %} {% block body %}
{% if entry.has_cover is defined %} {% endif %}

{{entry.title}}

{{entry.authors[0].name}}

{% 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 %} {% if entry.series|length > 0 %}

Book {{entry.series_index}} of {{entry.series[0].name}}

{% endif %} {% if entry.tags|length > 0 %}

{% for tag in entry.tags %} {{tag.name}}, {%endfor%}

{% endif %} {% if entry.comments|length > 0 %}

Description:

{{entry.comments[0].text|striptags}} {% endif %} {% if g.user.is_authenticated() %}
{% endblock %}