1 {% extends "base.html" %}
2 {% load static from staticfiles %}
3 {% load cache chunks i18n catalogue_tags infopages_tags social_tags %}
6 {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
7 {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
19 <div id="promo-box-header"><h2 class="mono">
20 {% trans "What's new?" %}
22 <div id="promo-box-body">
28 <h2 class="main-last"><span class="mono">{% trans "Recent publications" %}</span></h2>
29 {% cache 60 last-published-on-main %}
30 {% for book in last_published %}
35 <div class="clearboth"></div>
37 <div class="infopages-box">
38 <h2><span class='mono'>{% trans "News" %}</span></h2>
39 {% cache 1800 latest-blog-posts %}
40 {% latest_blog_posts "http://nowoczesnapolska.org.pl/category/wolne-lektury/feed/" %}
45 <div class="infopages-box">
46 <h2><span class='mono'>{% trans "Utilities" %}</span></h2>
49 <li><a href="{% url suggest %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
50 <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
51 <li><a href="{% url lesmianator %}">Leśmianator</a></li>
52 <li><a href="{% url reporting_catalogue_pdf %}">
53 {% trans "Download the catalogue in PDF format." %}
55 <!--li><a href="{% url infopage "widget" %}">{% trans "Widget" %}</a></li-->
56 <li><a href="{% url suggest_publishing %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
57 <li><a href="{% url publish_plan %}">{% trans "Publishing plan" %}</a></li>
58 <li><a href="{% url api %}">API</a></li>
63 <div class="infopages-box">
64 <h2><span class='mono'>{% trans "Information" %}</span></h2>
65 {% cache 60 infopages-on-main LANGUAGE_CODE %}
66 {% infopages_on_main %}
69 <div class="social-links">
70 <a href="http://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268"
71 title='Wolne Lektury @ Facebook'>
72 <img src="{% static "img/social/f.png" %}" />
74 <a href="http://nk.pl/profile/30441509"
75 title='Wolne Lektury @ NK'>
76 <img src="{% static "img/social/nk.png" %}" />
87 {% block add_footer %}
88 <p>{% trans "Image used:" %}
89 <a href="http://www.flickr.com/photos/lou/430980641/">books about architecture</a>,
91 <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">CC BY NC SA</a>.