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>{% trans "In our digital library you will find" %}</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 {% trans "and many other books, poems, pictures, audiobooks…" %}
38 <section id="main-theme">
39 <h1>{% trans "Motifs and themes" %}</h1>
40 <div class="white-box normal-text">
41 <h2>{% trans "Theme" %}: {{ theme }}</h2>
42 <p>{% trans "Explore works with the same theme" %}</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' %}">{% trans "See motifs catalog" %}</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>
93 <h1>{% trans "Collections" %}</h1>
94 {% cache 3600 collection_box collection.pk LANGUAGE_CODE %}
95 {% include 'catalogue/collection_box.html' %}
97 <a class="more" href="{% url 'catalogue_collections' %}">{% trans "See collections catalog" %}</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>
132 <li><a href="{% url 'subscribe' %}">{% trans "Newsletter" %}</a></li>
136 <section class="infopages-box">
137 <h1>{% trans "Information" %}</h1>
139 <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
140 {% infopages_on_main %}
143 <div class="social-links">
144 <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
145 <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
147 <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
148 <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
156 {% block add_footer %}
160 {% trans "Image used:" %}
161 {% cache 3600 cite_info cite.pk %}
162 {% include 'social/cite_info.html' %}