book page fix
[wolnelektury.git] / src / catalogue / templates / catalogue / tag_catalogue.html
index 5f7e61b..4c6a99f 100644 (file)
@@ -1,7 +1,7 @@
 {% extends "base/base.html" %}
 {% load i18n %}
+{% load cache %}
 {% load plain_list from catalogue_tags %}
-{% load ssi_include from ssify %}
 
 {% block titleextra %}{{ title }}{% endblock %}
 
@@ -12,7 +12,9 @@
 
   {% for tag in best %}
     <a class="tag-box" href="{{ tag.get_absolute_url }}">
-      {% ssi_include "catalogue_tag_box" pk=tag.pk %}
+      {% cache 86400 catalogue_tag_box tag.pk %}
+        {% include 'catalogue/tag_box.html' %}
+      {% endcache %}
     </a>
   {% endfor %}