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 %}
 
  14   {% if not funding_no_show_current %}
 
  15     {% cache 120 funding_top_bar LANGUAGE_CODE %}
 
  24       {% cache 3600 main_cite cite.pk %}
 
  25         {% include "social/cite_promo.html" with main=True %}
 
  29     <section id="main-library">
 
  30       <h1>{% trans "In our digital library you will find" %}</h1>
 
  31       <div class="main-library-row">
 
  33           {% for book in best %}
 
  34             {% cache 86400 book_mini_box book.pk %}
 
  35               {% include 'catalogue/book_mini_box.html' %}
 
  39         <a href="{% url "book_list" %}">
 
  40           <div class="note white-box normal-text" style="font-size: 18px">
 
  41             {% trans "and many other books, poems, pictures, audiobooks…" %}
 
  47     <section id="main-theme">
 
  48       <h1>{% trans "Motifs and themes" %}</h1>
 
  49       <div class="white-box normal-text">
 
  50         <h2>{% trans "Theme" %}: {{ theme }}</h2>
 
  51         <p>{% trans "Explore works with the same theme" %}</p>
 
  52         {% for book in theme_books %}
 
  53           {% cache 86400 book_mini_box book.pk %}
 
  54             {% include 'catalogue/book_mini_box.html' %}
 
  57         {% if theme_fragment %}
 
  58           {% cache 3600 fragment_promo theme_fragment.pk %}
 
  59             {% include 'catalogue/fragment_promo.html' with fragment=theme_fragment %}
 
  63       <a class="more" href="{% url 'theme_catalogue' %}">{% trans "See motifs catalog" %}</a>
 
  67     <section class="tag-box-section">
 
  69       <a class="tag-box" href="{{ author.get_absolute_url }}">
 
  70         {% ssi_include "catalogue_tag_box" pk=author.pk %}
 
  72       <a class="more" href="{% url 'author_catalogue' %}">Zobacz katalog autorów</a>
 
  75     <section class="tag-box-section">
 
  77       <a class="tag-box" href="{{ genre.get_absolute_url }}">
 
  78         {% ssi_include "catalogue_tag_box" pk=genre.pk %}
 
  80       <a class="more" href="{% url 'genre_catalogue' %}">Zobacz katalog gatunków</a>
 
  83     <section class="tag-box-section">
 
  85       <a class="tag-box" href="{{ kind.get_absolute_url }}">
 
  86         {% ssi_include "catalogue_tag_box" pk=kind.pk %}
 
  88       <a class="more" href="{% url 'kind_catalogue' %}">Zobacz katalog rodzajów</a>
 
  91     <section class="tag-box-section">
 
  93       <a class="tag-box" href="{{ epoch.get_absolute_url }}">
 
  94         {% ssi_include "catalogue_tag_box" pk=epoch.pk %}
 
  96       <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
 
 102         <h1>{% trans "Collections" %}</h1>
 
 103         {% cache 3600 collection_box collection.pk LANGUAGE_CODE %}
 
 104           {% include 'catalogue/collection_box.html' %}
 
 106         <a class="more" href="{% url 'catalogue_collections' %}">{% trans "See collections catalog" %}</a>
 
 111       <h1>{% trans "Recent publications" %}</h1>
 
 112         {% for book in last_published %}
 
 113           {% cache 86400 book_mini_box book.pk %}
 
 114             {% include 'catalogue/book_mini_box.html' %}
 
 117       <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
 
 120     <div class="clearboth"></div>
 
 122     <section class="infopages-box">
 
 123       <h1>{% trans "News" %}</h1>
 
 124       {% ssi_include 'latest_blog_posts' %}
 
 127     <section class="infopages-box">
 
 128       <h1>{% trans "Utilities" %}</h1>
 
 131         <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
 
 132         <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
 
 133         <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
 
 134         <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
 
 135         <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
 
 136         <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
 
 137         <li><a href="{% url 'api' %}">API</a></li>
 
 138         <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
 
 139         <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
 
 140         <li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>
 
 141         <li><a href="{% url 'subscribe' %}">{% trans "Newsletter" %}</a></li>
 
 145     <section class="infopages-box">
 
 146       <h1>{% trans "Information" %}</h1>
 
 148         <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
 
 149         {% infopages_on_main %}
 
 152       <div class="social-links">
 
 153         <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
 
 154           <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
 
 156         <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
 
 157           <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
 
 165 {% block add_footer %}
 
 169         {% trans "Image used:" %}
 
 170         {% cache 3600 cite_info cite.pk %}
 
 171           {% include 'social/cite_info.html' %}