{% for book in best %}
- {% cache 86400 book_mini_box book.pk %}
- {% include 'catalogue/book_mini_box.html' %}
- {% endcache %}
+ {{ book.mini_box }}
{% endfor %}
@@ -44,9 +42,7 @@
{% trans "Theme" %}: {{ theme }}
{% trans "Explore works with the same theme" %}
{% for book in theme_books %} - {% cache 86400 book_mini_box book.pk %} - {% include 'catalogue/book_mini_box.html' %} - {% endcache %} + {{ book.mini_box }} {% endfor %} {% if theme_fragment %} {% cache 3600 fragment_promo theme_fragment.pk %} @@ -70,9 +66,7 @@