X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c742d70c5285e01898721fc1a5ffe236781c7828..f3e8dfa015744bd72796fdd8eff0d81f863cdc46:/src/wolnelektury/templates/main_page.html diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html index c1e6a9c4a..d68c2cc7f 100644 --- a/src/wolnelektury/templates/main_page.html +++ b/src/wolnelektury/templates/main_page.html @@ -25,9 +25,7 @@
{% 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 @@

{% trans "Recent publications" %}

{% for book in last_published %} - {% cache 86400 book_mini_box book.pk %} - {% include 'catalogue/book_mini_box.html' %} - {% endcache %} + {{ book.mini_box }} {% endfor %}
{% trans "More recent publications" %}