Uncrazy the caching, part 1.
[wolnelektury.git] / src / catalogue / templates / catalogue / book_detail.html
index ecae89e..a5be89b 100644 (file)
@@ -1,7 +1,6 @@
 {% extends "base/base.html" %}
 {% load i18n %}
 {% load common_tags catalogue_tags %}
-{% load ssify %}
 {% load build_absolute_uri from fnp_common %}
 {% load cache %}
 
@@ -33,7 +32,6 @@
           {% cache 86400 book_mini_box rel.pk %}
             {% include 'catalogue/book_mini_box.html' with book=rel %}
           {% endcache %}
-          {#% ssi_include 'catalogue_book_mini' pk=rel.pk %#}
         {% endfor %}
       </section>
     {% endif %}
@@ -56,7 +54,9 @@
   {% for author in book.authors %}
     <div class="white-box">
       <a style="display:block" href="{{ author.get_absolute_url }}">
-        {% ssi_include 'catalogue_tag_box' pk=author.pk %}
+       {% cache 86400 catalogue_tag_box rel.pk %}
+          {% include 'catalogue/tag_box.html' with tag=author %}
+       {% endcache %}
       </a>
     </div>
   {% endfor %}