1 {% extends "base/base.html" %}
2 {% load static from staticfiles %}
3 {% load i18n catalogue_tags infopages_tags %}
4 {% load ssi_include from ssify %}
6 {% get_current_language as LANGUAGE_CODE %}
9 {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
10 {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
15 {% cache 3600 main_cite cite.pk %}
16 {% include "social/cite_promo.html" with main=True %}
20 <section id="main-library">
21 <h1>W naszej cyfrowej bibliotece znajdziesz</h1>
22 <div class="main-library-row">
24 {% for book in best %}
25 {% cache 86400 book_mini_box book.pk %}
26 {% include 'catalogue/book_mini_box.html' %}
30 <a href="{% url "book_list" %}">
31 <div class="note white-box normal-text" style="font-size: 18px">
32 i wiele innych książek, wierszy, obrazów, audiobooków…
38 <section id="main-theme">
39 <h1>Motywy i tematy</h1>
40 <div class="white-box normal-text">
41 <h2>{% trans "Theme" %}: {{ theme }}</h2>
42 <p>Utwory, w których występuje ten motyw:</p>
43 {% for book in theme_books %}
44 {% cache 86400 book_mini_box book.pk %}
45 {% include 'catalogue/book_mini_box.html' %}
48 {% if theme_fragment %}
49 {% cache 3600 fragment_promo theme_fragment.pk %}
50 {% include 'catalogue/fragment_promo.html' with fragment=theme_fragment %}
54 <a class="more" href="{% url 'theme_catalogue' %}">Zobacz katalog motywów</a>
58 <section class="tag-box-section">
60 <a class="tag-box" href="{{ author.get_absolute_url }}">
61 {% ssi_include "catalogue_tag_box" pk=author.pk %}
63 <a class="more" href="{% url 'author_catalogue' %}">Zobacz katalog autorów</a>
66 <section class="tag-box-section">
68 <a class="tag-box" href="{{ genre.get_absolute_url }}">
69 {% ssi_include "catalogue_tag_box" pk=genre.pk %}
71 <a class="more" href="{% url 'genre_catalogue' %}">Zobacz katalog gatunków</a>
74 <section class="tag-box-section">
76 <a class="tag-box" href="{{ kind.get_absolute_url }}">
77 {% ssi_include "catalogue_tag_box" pk=kind.pk %}
79 <a class="more" href="{% url 'kind_catalogue' %}">Zobacz katalog rodzajów</a>
82 <section class="tag-box-section">
84 <a class="tag-box" href="{{ epoch.get_absolute_url }}">
85 {% ssi_include "catalogue_tag_box" pk=epoch.pk %}
87 <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
94 {% cache 3600 collection_box collection.pk LANGUAGE_CODE %}
95 {% include 'catalogue/collection_box.html' %}
97 <a class="more" href="{% url 'catalogue_collections' %}">Zobacz katalog kolekcji</a>
102 <h1>{% trans "Recent publications" %}</h1>
103 {% for book in last_published %}
104 {% cache 86400 book_mini_box book.pk %}
105 {% include 'catalogue/book_mini_box.html' %}
108 <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
111 <div class="clearboth"></div>
113 <section class="infopages-box">
114 <h1>{% trans "News" %}</h1>
115 {% ssi_include 'latest_blog_posts' %}
118 <section class="infopages-box">
119 <h1>{% trans "Utilities" %}</h1>
122 <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
123 <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
124 <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
125 <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
126 <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
127 <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
128 <li><a href="{% url 'api' %}">API</a></li>
129 <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
130 <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
131 <li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>
135 <section class="infopages-box">
136 <h1>{% trans "Information" %}</h1>
138 <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
139 {% infopages_on_main %}
142 <div class="social-links">
143 <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
144 <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
146 <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
147 <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
155 {% block add_footer %}
159 {% trans "Image used:" %}
160 {% cache 3600 cite_info cite.pk %}
161 {% include 'social/cite_info.html' %}