1 {% extends "base/base.html" %}
2 {% load static from staticfiles %}
3 {% load i18n catalogue_tags infopages_tags %}
4 {% load ssi_include from ssify %}
6 {% load funding_tags %}
7 {% get_current_language as LANGUAGE_CODE %}
10 {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
11 {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
15 {% include "hotjar.html" %}
21 {% cache 3600 main_cite cite.pk %}
22 {% include "social/cite_promo.html" with main=True %}
26 <section id="main-library">
27 <h1>{% trans "In our digital library you will find" %}</h1>
28 <div class="main-library-row">
30 {% for book in best %}
31 {% cache 86400 book_mini_box book.pk %}
32 {% include 'catalogue/book_mini_box.html' %}
36 <a href="{% url "book_list" %}">
37 <div class="note white-box normal-text" style="font-size: 18px">
38 {% trans "and many other books, poems, pictures, audiobooks…" %}
44 <section id="main-theme">
45 <h1>{% trans "Motifs and themes" %}</h1>
46 <div class="white-box normal-text">
47 <h2>{% trans "Theme" %}: {{ theme }}</h2>
48 <p>{% trans "Explore works with the same theme" %}</p>
49 {% for book in theme_books %}
50 {% cache 86400 book_mini_box book.pk %}
51 {% include 'catalogue/book_mini_box.html' %}
54 {% if theme_fragment %}
55 {% cache 3600 fragment_promo theme_fragment.pk %}
56 {% include 'catalogue/fragment_promo.html' with fragment=theme_fragment %}
60 <a class="more" href="{% url 'theme_catalogue' %}">{% trans "See motifs catalog" %}</a>
64 <section class="tag-box-section">
66 <a class="tag-box" href="{{ author.get_absolute_url }}">
67 {% ssi_include "catalogue_tag_box" pk=author.pk %}
69 <a class="more" href="{% url 'author_catalogue' %}">Zobacz katalog autorów</a>
72 <section class="tag-box-section">
74 <a class="tag-box" href="{{ genre.get_absolute_url }}">
75 {% ssi_include "catalogue_tag_box" pk=genre.pk %}
77 <a class="more" href="{% url 'genre_catalogue' %}">Zobacz katalog gatunków</a>
80 <section class="tag-box-section">
82 <a class="tag-box" href="{{ kind.get_absolute_url }}">
83 {% ssi_include "catalogue_tag_box" pk=kind.pk %}
85 <a class="more" href="{% url 'kind_catalogue' %}">Zobacz katalog rodzajów</a>
88 <section class="tag-box-section">
90 <a class="tag-box" href="{{ epoch.get_absolute_url }}">
91 {% ssi_include "catalogue_tag_box" pk=epoch.pk %}
93 <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
99 <h1>{% trans "Collections" %}</h1>
100 {% cache 3600 collection_box collection.pk LANGUAGE_CODE %}
101 {% include 'catalogue/collection_box.html' %}
103 <a class="more" href="{% url 'catalogue_collections' %}">{% trans "See collections catalog" %}</a>
108 <h1>{% trans "Recent publications" %}</h1>
109 {% for book in last_published %}
110 {% cache 86400 book_mini_box book.pk %}
111 {% include 'catalogue/book_mini_box.html' %}
114 <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
117 <div class="clearboth"></div>
119 <section class="infopages-box">
120 <h1>{% trans "News" %}</h1>
121 {% ssi_include 'latest_blog_posts' %}
124 <section class="infopages-box">
125 <h1>{% trans "Utilities" %}</h1>
128 <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
129 <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
130 <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
131 <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
132 <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
133 <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
134 <li><a href="{% url 'api' %}">API</a></li>
135 <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
136 <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
137 <li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>
138 <li><a href="{% url 'subscribe' %}">{% trans "Newsletter" %}</a></li>
142 <section class="infopages-box">
143 <h1>{% trans "Information" %}</h1>
145 <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
146 {% infopages_on_main %}
149 <div class="social-links">
150 <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
151 <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
153 <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
154 <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
162 {% block add_footer %}
166 {% trans "Image used:" %}
167 {% cache 3600 cite_info cite.pk %}
168 {% include 'social/cite_info.html' %}