minor style fix
[wolnelektury.git] / wolnelektury / templates / main_page.html
index b0de3cf..988bbb3 100755 (executable)
 
 
     <h2 class="main-last"><span class="mono">Ostatnie publikacje</span></h2>
 
 
     <h2 class="main-last"><span class="mono">Ostatnie publikacje</span></h2>
-        {% for book in last_published %}
-            {{ book.mini_box }}
-        {% endfor %}
+        {% cache 300 last-published-on-main %}
+            {% for book in last_published %}
+                {% book_mini book %}
+            {% endfor %}
+        {% endcache %}
 
     <div class="clearboth"></div>
 
 
     <div class="clearboth"></div>
 
 
     <div class="infopages-box">
         <h2><span class='mono'>Informacje</span></h2>
 
     <div class="infopages-box">
         <h2><span class='mono'>Informacje</span></h2>
-
-        {% infopages_on_main %}
+        {% cache 300 infopages-on-main LANGUAGE_CODE %}
+            {% infopages_on_main %}
+        {% endcache %}
 
         <div class="social-links">
 
         <div class="social-links">
-            <a href="http://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268"><img src="{{ STATIC_URL }}img/social/facebook.png" alt="WolneLektury @ Facebook" /></a>
-            <a href="http://nk.pl/profile/30441509"><img src="{{ STATIC_URL }}img/social/naszaklasa.png" alt="WolneLektury @ NK" /></a>
+            <a href="http://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268"
+                title='Wolne Lektury @ Facebook'>[f]</a>
+            <a href="http://nk.pl/profile/30441509"
+                title='Wolne Lektury @ NK'>[nk]</a>
         </div>
     </div>
 
         </div>
     </div>