{% extends "base.html" %}
-{% load cache i18n catalogue_tags infopages_tags %}
+{% load cache i18n catalogue_tags infopages_tags social_tags %}
{% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
{% block body %}
- <blockquote id="big-cite">
- <a href='http://google.com'>
- <h2 class="mono">Jarosław Lipszyc poleca:</h2>
- <p id="big-cite-text">Dobranoc, obróć jeszcze raz na mnie oczęta,<br/>
- (…) Daj mi pierś ucałować<br/>
- Dobranoc, zapięta.</p>
- <p class="mono" id="big-cite-source">Adam Mickiewicz, Dziady część III</p>
- </a>
- </blockquote>
-
+ <div id="big-cite">
+ {% cite_promo %}
+ </div>
{% spaceless %}
<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="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">
- <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>