{% extends "base.html" %} {% block title %}{{ book.title }}{% endblock %} {% block content %}
{% if book.image %}
{{ book.title }}
{% endif %}

{{ book.title }} {% if book.public %} {% else %} {% endif %}

{{ book.author }}


{% if book.description %}

{{ book.description|escape|truncatewords:20 }}

{% endif %} {% if user_in_library %}

{{ user_book.percentage_read_whole }}%
{{ user_book.percentage_read_whole }}%
{% elif user.is_authenticated %}
{% csrf_token %}
{% else %} Login to read {% endif %}
{% endblock %}