{% extends "base.html" %}
-{% load cache i18n catalogue_tags infopages_tags %}
+{% load cache chunks 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 %}
<div id="promo-box">
- <div class="grid-line" id="promo-box-header">
- <h2 class="mono">Trwa konkurs</h2>
- </div>
- <div id="promo-box-body" class="accent4">
- <p id="promo-box-title" class="mono"><span>Konkurs poezji automatycznej</span></p>
- <div id="promo-box-content">
- <p>Znacie Leśmianatora? To niewielki skrypt miskujący na życzenie
- wiersze z Wolnych Lektur.</p>
- </div>
- </div>
+ {% chunk "promo" %}
</div>
<h2 class="main-last"><span class="mono">Ostatnie publikacje</span></h2>
- {% cache 300 last-published-on-main %}
+ {% cache 60 last-published-on-main %}
{% for book in last_published %}
{% book_mini book %}
{% endfor %}
<li><a href="{% url suggest %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
<li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li>
<li><a href="{% url lesmianator %}">Leśmianator</a></li>
- <li><a href="{% url infopage "mobilna" %}">{% trans "Mobile app" %}</a></li>
- <li><a href="{% url infopage "widget" %}">{% trans "Widget" %}</a></li>
+ <!--li><a href="{% url infopage "widget" %}">{% trans "Widget" %}</a></li-->
<li><a href="{% url suggest_publishing %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
<li><a href="{% url publish_plan %}">{% trans "Publishing plan" %}</a></li>
</ul>
<div class="infopages-box">
<h2><span class='mono'>Informacje</span></h2>
- {% cache 300 infopages-on-main LANGUAGE_CODE %}
+ {% cache 60 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>
{% endspaceless %}
{% endblock %}
+
+
+{% block add_footer %}
+<p>{% trans "Image used:" %}
+<a href="http://www.flickr.com/photos/webtreatsetc/5647576127/">Blue Stripes</a>,
+webtreats@Flickr,
+<a href="http://creativecommons.org/licenses/by/2.0/deed.pl">CC BY</a>.
+</p>
+{% endblock %}