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 %}
10 <div id="big-cite"{% if cite.image %}
12 background-image: url('{{ cite.image.url }}');
13 background-position: 50% {{ cite.image_shift|default_if_none:50 }}%;
15 {% render_cite cite %}
22 <div id="promo-box-header"><h2 class="mono">
23 {% trans "What's new?" %}
25 <div id="promo-box-body">
31 <h2 class="main-last"><span class="mono">{% trans "Recent publications" %}</span></h2>
32 {% cache 60 last-published-on-main %}
33 {% for book in last_published %}
38 <div class="clearboth"></div>
40 <div class="infopages-box">
41 <h2><span class='mono'>{% trans "News" %}</span></h2>
42 {# 135 is the id of new publications category of our master blog. perhaps this URL should go to settings. #}
43 {% cache 1800 latest-blog-posts %}
44 {% latest_blog_posts "http://nowoczesnapolska.org.pl/feed/?cat=-135" %}
49 <div class="infopages-box">
50 <h2><span class='mono'>{% trans "Utilities" %}</span></h2>
53 <li><a href="{% url suggest %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
54 <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
55 <li><a href="{% url reporting_catalogue_pdf %}">
56 {% trans "Download the catalogue in PDF format." %}
58 <!--li><a href="{% url infopage "widget" %}">{% trans "Widget" %}</a></li-->
59 <li><a href="{% url suggest_publishing %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
60 <li><a href="{% url publish_plan %}">{% trans "Publishing plan" %}</a></li>
61 <li><a href="{% url api %}">API</a></li>
62 <li><a href="{% url oaipmh %}">OAI-PMH</a></li>
63 <li><a href="{% url lesmianator %}">Leśmianator</a></li>
64 <li><a href="http://polski.wolnelektury.pl">Materiały do nauki j. polskiego</a></li>
70 <div class="infopages-box">
71 <h2><span class='mono'>{% trans "Information" %}</span></h2>
72 {% cache 60 infopages-on-main LANGUAGE_CODE %}
73 {% infopages_on_main %}
76 <div class="social-links">
77 <a href="http://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268"
78 title='Wolne Lektury @ Facebook'>
79 <img src="{% static "img/social/f.png" %}" />
81 <a href="http://nk.pl/profile/30441509"
82 title='Wolne Lektury @ NK'>
83 <img src="{% static "img/social/nk.png" %}" />
94 {% block add_footer %}
95 <p>{% trans "Image used:" %}
97 {% if cite.image_link %}<a href="{{ cite.image_link }}">{% endif %}
98 {% if cite.image_title %}
99 {{ cite.image_title }}{% else %}
100 untitled{% endif %}{% if cite.image_link %}</a>{% endif %},
101 {% if cite.image_author %}{{ cite.image_author }},{% endif %}
102 {% if cite.image_license_link %}<a href="{{ cite.image_license_link }}">{% endif %}
103 {{ cite.image_license }}
104 {% if cite.image_license_link %}</a>{% endif %}
106 <a href="http://www.flickr.com/photos/lou/430980641/">books about architecture</a>,
108 <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">CC BY NC SA</a>.