{% extends "base.html" %} {% load tagging_tags %} {% block title %}Welcome to the Pathagar book server{% endblock %} {% block script %} {{ block.super }} {% if q != None %} $('#search').val('{{ q }}'); {% else %} $('#search').example('Book Search...'); {% endif %} {% endblock %} {% block feed_link %} Feed IconSubscribe to Feed {% endblock %} {% block content %}
{% for book in book_list %}
{% if book.cover_img %} Cover {% else %} Cover {% endif %}

{{ book.a_title }}

by {{ book.a_author }}

{% tags_for_object book as tag_list %} {% if book.tags.count != 0 %}
{% for tag in book.tags.all %} {{ tag.name }} {% endfor %}
{% endif %}

{{ book.a_summary }}

Download

{% endfor %}
{% endblock %}