{% load i18n %}
{% load utilities %}
{% load cache %}
{% spaceless %}
{# 6 month cache #}
{% cache 15552000 titleby book.id %}
{% if book.authors.exists %}
{% blocktrans trimmed with path=book.local_path title=book|book_title %}
{{ title }} by
{% endblocktrans %} {% include 'snippets/authors.html' with book=book limit=3 %}
{% else %}
{{ book|book_title }}
{% endif %}
{% endcache %}
{% endspaceless %}