{% extends 'landing/layout.html' %} {% load i18n %} {% load cache %} {% load landing_page_tags %} {% block panel %}

{% trans "Recent Books" %}

{% get_current_language as LANGUAGE_CODE %} {# 1 hour cache #} {% cache 3600 landing LANGUAGE_CODE %} {% get_landing_books as books %}
{% include 'landing/large-book.html' with book=books.0 %}
{% include 'landing/small-book.html' with book=books.1 %}
{% include 'landing/small-book.html' with book=books.2 %}
{% include 'landing/small-book.html' with book=books.3 %}
{% include 'landing/small-book.html' with book=books.4 %}
{% include 'landing/large-book.html' with book=books.5 %}
{% endcache %} {% endblock %}