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 %}
16 {% cache 3600 main_cite cite.pk %}
17 {% include "social/cite_promo.html" with main=True %}
21 <section id="main-library">
22 <h1>{% trans "In our digital library you will find" %}</h1>
23 <div class="main-library-row">
25 {% for book in best %}
26 {% cache 86400 book_mini_box book.pk %}
27 {% include 'catalogue/book_mini_box.html' %}
31 <a href="{% url "book_list" %}">
32 <div class="note white-box normal-text" style="font-size: 18px">
33 {% trans "and many other books, poems, pictures, audiobooks…" %}
39 <section id="main-theme">
40 <h1>{% trans "Motifs and themes" %}</h1>
41 <div class="white-box normal-text">
42 <h2>{% trans "Theme" %}: {{ theme }}</h2>
43 <p>{% trans "Explore works with the same theme" %}</p>
44 {% for book in theme_books %}
45 {% cache 86400 book_mini_box book.pk %}
46 {% include 'catalogue/book_mini_box.html' %}
49 {% if theme_fragment %}
50 {% cache 3600 fragment_promo theme_fragment.pk %}
51 {% include 'catalogue/fragment_promo.html' with fragment=theme_fragment %}
55 <a class="more" href="{% url 'theme_catalogue' %}">{% trans "See motifs catalog" %}</a>
59 <section class="tag-box-section">
61 <a class="tag-box" href="{{ author.get_absolute_url }}">
62 {% ssi_include "catalogue_tag_box" pk=author.pk %}
64 <a class="more" href="{% url 'author_catalogue' %}">Zobacz katalog autorów</a>
67 <section class="tag-box-section">
69 <a class="tag-box" href="{{ genre.get_absolute_url }}">
70 {% ssi_include "catalogue_tag_box" pk=genre.pk %}
72 <a class="more" href="{% url 'genre_catalogue' %}">Zobacz katalog gatunków</a>
75 <section class="tag-box-section">
77 <a class="tag-box" href="{{ kind.get_absolute_url }}">
78 {% ssi_include "catalogue_tag_box" pk=kind.pk %}
80 <a class="more" href="{% url 'kind_catalogue' %}">Zobacz katalog rodzajów</a>
83 <section class="tag-box-section">
85 <a class="tag-box" href="{{ epoch.get_absolute_url }}">
86 {% ssi_include "catalogue_tag_box" pk=epoch.pk %}
88 <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
94 <h1>{% trans "Collections" %}</h1>
95 {% cache 3600 collection_box collection.pk LANGUAGE_CODE %}
96 {% include 'catalogue/collection_box.html' %}
98 <a class="more" href="{% url 'catalogue_collections' %}">{% trans "See collections catalog" %}</a>
103 <h1>{% trans "Recent publications" %}</h1>
104 {% for book in last_published %}
105 {% cache 86400 book_mini_box book.pk %}
106 {% include 'catalogue/book_mini_box.html' %}
109 <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
112 <div class="clearboth"></div>
114 <section class="infopages-box">
115 <h1>{% trans "News" %}</h1>
116 {% ssi_include 'latest_blog_posts' %}
119 <section class="infopages-box">
120 <h1>{% trans "Utilities" %}</h1>
123 <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
124 <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
125 <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
126 <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
127 <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
128 <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
129 <li><a href="{% url 'api' %}">API</a></li>
130 <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
131 <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
132 <li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>
133 <li><a href="{% url 'subscribe' %}">{% trans "Newsletter" %}</a></li>
137 <section class="infopages-box">
138 <h1>{% trans "Information" %}</h1>
140 <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
141 {% infopages_on_main %}
144 <div class="social-links">
145 <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
146 <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
148 <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
149 <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
157 {% block add_footer %}
161 {% trans "Image used:" %}
162 {% cache 3600 cite_info cite.pk %}
163 {% include 'social/cite_info.html' %}