1 {% extends "base/base.html" %}
 
   2 {% load carousel from social_tags %}
 
   3 {% load static from staticfiles %}
 
   4 {% load i18n catalogue_tags infopages_tags %}
 
   5 {% load ssi_include from ssify %}
 
   7 {% load funding_tags %}
 
   8 {% get_current_language as LANGUAGE_CODE %}
 
  11 {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
 
  12 {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
 
  16 {% include "hotjar.html" %}
 
  23     <section id="main-library">
 
  24       <h1>{% trans "In our digital library you will find" %}</h1>
 
  25       <div class="main-library-row">
 
  27           {% for book in best %}
 
  28             {% cache 86400 book_mini_box book.pk %}
 
  29               {% include 'catalogue/book_mini_box.html' %}
 
  33         <a href="{% url "book_list" %}">
 
  34           <div class="note white-box normal-text" style="font-size: 18px">
 
  35             {% trans "and many other books, poems, pictures, audiobooks…" %}
 
  41     <section id="main-theme">
 
  42       <h1>{% trans "Motifs and themes" %}</h1>
 
  43       <div class="white-box normal-text">
 
  44         <h2>{% trans "Theme" %}: {{ theme }}</h2>
 
  45         <p>{% trans "Explore works with the same theme" %}</p>
 
  46         {% for book in theme_books %}
 
  47           {% cache 86400 book_mini_box book.pk %}
 
  48             {% include 'catalogue/book_mini_box.html' %}
 
  51         {% if theme_fragment %}
 
  52           {% cache 3600 fragment_promo theme_fragment.pk %}
 
  53             {% include 'catalogue/fragment_promo.html' with fragment=theme_fragment %}
 
  57       <a class="more" href="{% url 'theme_catalogue' %}">{% trans "See motifs catalog" %}</a>
 
  61     <section class="tag-box-section">
 
  63       <a class="tag-box" href="{{ author.get_absolute_url }}">
 
  64         {% ssi_include "catalogue_tag_box" pk=author.pk %}
 
  66       <a class="more" href="{% url 'author_catalogue' %}">Zobacz katalog autorów</a>
 
  69     <section class="tag-box-section">
 
  71       <a class="tag-box" href="{{ genre.get_absolute_url }}">
 
  72         {% ssi_include "catalogue_tag_box" pk=genre.pk %}
 
  74       <a class="more" href="{% url 'genre_catalogue' %}">Zobacz katalog gatunków</a>
 
  77     <section class="tag-box-section">
 
  79       <a class="tag-box" href="{{ kind.get_absolute_url }}">
 
  80         {% ssi_include "catalogue_tag_box" pk=kind.pk %}
 
  82       <a class="more" href="{% url 'kind_catalogue' %}">Zobacz katalog rodzajów</a>
 
  85     <section class="tag-box-section">
 
  87       <a class="tag-box" href="{{ epoch.get_absolute_url }}">
 
  88         {% ssi_include "catalogue_tag_box" pk=epoch.pk %}
 
  90       <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
 
  96         <h1>{% trans "Collections" %}</h1>
 
  97         {% cache 3600 collection_box collection.pk LANGUAGE_CODE %}
 
  98           {% include 'catalogue/collection_box.html' %}
 
 100         <a class="more" href="{% url 'catalogue_collections' %}">{% trans "See collections catalog" %}</a>
 
 105       <h1>{% trans "Recent publications" %}</h1>
 
 106         {% for book in last_published %}
 
 107           {% cache 86400 book_mini_box book.pk %}
 
 108             {% include 'catalogue/book_mini_box.html' %}
 
 111       <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
 
 114     <div class="clearboth"></div>
 
 116     <section class="infopages-box">
 
 117       <h1>{% trans "News" %}</h1>
 
 118       {% ssi_include 'latest_blog_posts' %}
 
 121     <section class="infopages-box">
 
 122       <h1>{% trans "Utilities" %}</h1>
 
 125         <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
 
 126         <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
 
 127         <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
 
 128         <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
 
 129         <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
 
 130         <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
 
 131         <li><a href="{% url 'api' %}">API</a></li>
 
 132         <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
 
 133         <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
 
 134         <li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>
 
 135         <li><a href="{% url 'subscribe' %}">{% trans "Newsletter" %}</a></li>
 
 139     <section class="infopages-box">
 
 140       <h1>{% trans "Information" %}</h1>
 
 142         <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
 
 143         {% infopages_on_main %}
 
 146       <div class="social-links">
 
 147         <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
 
 148           <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
 
 150         <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
 
 151           <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
 
 159 {% block add_footer %}
 
 163         {% trans "Image used:" %}
 
 164         {% cache 3600 cite_info cite.pk %}
 
 165           {% include 'social/cite_info.html' %}