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

{{title}}

{% for entry in entries %}
{% if entry.has_cover is defined %} {% endif %}

{{entry.title|shortentitle}}

{{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 %}
{% endfor %}
{% endblock %}