1 {% extends "base.html" %}
2 {% load static from staticfiles %}
3 {% load i18n catalogue_tags infopages_tags social_tags %}
4 {% load ssi_include from ssify %}
8 {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
9 {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
11 {% block body %}{% spaceless %}
13 {% choose_cite as cite_pk %}
15 {% ssi_include 'social_cite_main' pk=cite_pk %}
18 <section id="main-library">
19 <h1>W naszej cyfrowej bibliotece znajdziesz</h1>
20 <div class="main-library-row">
22 {% for book in best %}
23 {% cache 86400 book_mini_box book.pk %}
24 {% include 'catalogue/book_mini_box.html' %}
26 {#% ssi_include 'catalogue_book_mini' pk=b.pk %#}
29 <a href="{% url "book_list" %}">
30 <div class="note white-box normal-text" style="font-size: 18px">
31 i wiele innych książek, wierszy, obrazów, audiobooków…
37 <section id="main-theme">
38 <h1>Motywy i tematy</h1>
39 <div class="white-box normal-text">
40 <h2>{% trans "Theme" %}: {{ theme }}</h2>
41 <p>Utwory, w których występuje ten motyw:</p>
42 {% for book in theme_books %}
43 {% cache 86400 book_mini_box book.pk %}
44 {% include 'catalogue/book_mini_box.html' %}
46 {#% ssi_include 'catalogue_book_mini' pk=book.pk %#}
48 {% if theme_fragment %}
49 {% ssi_include 'catalogue_fragment_promo' pk=theme_fragment.pk %}
52 <a class="more" href="{% url 'theme_catalogue' %}">Zobacz katalog motywów</a>
56 <section class="tag-box-section">
58 <a class="tag-box" href="{{ author.get_absolute_url }}">
59 {% ssi_include "catalogue_tag_box" pk=author.pk %}
61 <a class="more" href="{% url 'author_catalogue' %}">Zobacz katalog autorów</a>
64 <section class="tag-box-section">
66 <a class="tag-box" href="{{ genre.get_absolute_url }}">
67 {% ssi_include "catalogue_tag_box" pk=genre.pk %}
69 <a class="more" href="{% url 'genre_catalogue' %}">Zobacz katalog gatunków</a>
72 <section class="tag-box-section">
74 <a class="tag-box" href="{{ kind.get_absolute_url }}">
75 {% ssi_include "catalogue_tag_box" pk=kind.pk %}
77 <a class="more" href="{% url 'kind_catalogue' %}">Zobacz katalog rodzajów</a>
80 <section class="tag-box-section">
82 <a class="tag-box" href="{{ epoch.get_absolute_url }}">
83 {% ssi_include "catalogue_tag_box" pk=epoch.pk %}
85 <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
92 {% ssi_include 'catalogue_collection_box' pk=collection.pk %}
93 <a class="more" href="{% url 'catalogue_collections' %}">Zobacz katalog kolekcji</a>
98 <h1>{% trans "Recent publications" %}</h1>
99 {% for book in last_published %}
100 {% cache 86400 book_mini_box book.pk %}
101 {% include 'catalogue/book_mini_box.html' %}
103 {#% ssi_include 'catalogue_book_mini' pk=book.pk %#}
105 <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
108 <div class="clearboth"></div>
110 <section class="infopages-box">
111 <h1>{% trans "News" %}</h1>
112 {% ssi_include 'latest_blog_posts' %}
116 <section class="infopages-box">
117 <h1>{% trans "Utilities" %}</h1>
120 <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
121 <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
122 <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
123 <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
124 <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
125 <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
126 <li><a href="{% url 'api' %}">API</a></li>
127 {#<li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>#}
128 <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
129 <li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>
134 <section class="infopages-box">
135 <h1>{% trans "Information" %}</h1>
137 <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
138 {% infopages_on_main %}
141 <div class="social-links">
142 <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
143 <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
145 <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
146 <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
151 {% endspaceless %}{% endblock %}
154 {% block add_footer %}{% spaceless %}
156 <p>{% trans "Image used:" %}
157 {% ssi_include 'social_cite_info' pk=cite_pk %}
160 {% endspaceless %}{% endblock %}