- <section id="main-last">
- <h1><a href="{% url 'recent_list' %}">{% trans "Recent publications" %}</a></h1>
- {% for book in last_published %}
- {% ssi_include 'catalogue_book_mini' pk=book.pk %}
- {% endfor %}
+ <section class="tag-box-section">
+ <h1>Epoki</h1>
+ <a class="tag-box" href="{{ epoch.get_absolute_url }}">
+ {% ssi_include "catalogue_tag_box" pk=epoch.pk %}
+ </a>
+ <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
+ </section>
+ {% endcomment %}
+
+ {% if collection %}
+ <section>
+ <h1>{% trans "Collections" %}</h1>
+ {% cache 3600 collection_box collection.pk LANGUAGE_CODE %}
+ {% include 'catalogue/collection_box.html' %}
+ {% endcache %}
+ <a class="more" href="{% url 'catalogue_collections' %}">{% trans "See collections catalog" %}</a>
+ </section>
+ {% endif %}
+
+ <section>
+ <h1>{% trans "Recent publications" %}</h1>
+ {% for book in last_published %}
+ {% cache 86400 book_mini_box book.pk %}
+ {% include 'catalogue/book_mini_box.html' %}
+ {% endcache %}
+ {% endfor %}
+ <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>