1 {% extends "base/base.html" %}
 
   2 {% load latest_blog_posts from blog %}
 
   3 {% load carousel from social_tags %}
 
   5 {% load i18n catalogue_tags infopages_tags %}
 
   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 %}
 
  18     <section id="main-library">
 
  19       <h1>{% trans "In our digital library you will find" %}</h1>
 
  20       <div class="main-library-row">
 
  22           {% for book in best %}
 
  26         <a href="{% if recommended_collection %}{{ recommended_collection.get_absolute_url }}{% else %}{% url "book_list" %}{% endif %}">
 
  27           <div class="note white-box normal-text" style="font-size: 18px">
 
  28             {% trans "and many other books, poems, pictures, audiobooks…" %}
 
  36         <a  href="{% url 'recent_list' %}">
 
  37           {% trans "Recent publications" %}
 
  41       {% for book in last_published %}
 
  49           <a href="{% url 'catalogue_collections' %}">
 
  50             {% trans "Collections" %}
 
  54         {% for collection in collections %}
 
  60     <section id="main-theme">
 
  62         <a href="{% url 'theme_catalogue' %}">
 
  63           {% trans "Motifs and themes" %}
 
  67       <div class="white-box normal-text">
 
  68         <h2>{% trans "Theme" %}: {{ theme }}</h2>
 
  69         <p>{% trans "Explore works with the same theme" %}</p>
 
  70         {% for book in theme_books %}
 
  73         {% if theme_fragment %}
 
  74           {% cache 3600 fragment_promo theme_fragment.pk %}
 
  75             {% include 'catalogue/fragment_promo.html' with fragment=theme_fragment %}
 
  81     <div class="clearboth"></div>
 
  83     <section class="infopages-box">
 
  84       <h1>{% trans "News" %}</h1>
 
  85       {% cache 1800 latest_blog_posts %}
 
  86         {% latest_blog_posts %}
 
  90     <section class="infopages-box">
 
  91       <h1>{% trans "Utilities" %}</h1>
 
  94         <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
 
  95         <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
 
  96         <li><a href="{% url 'gallery' %}">{% trans "Art" %}</a></li>
 
  97         <li><a href="{% url 'catalogue' %}">{% trans "All works" %}</a></li>
 
  99         <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
 
 100         <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
 
 101         <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
 
 102         <li><a href="{% url 'api' %}">API</a></li>
 
 103         <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
 
 104         <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
 
 105         <li><a href="https://polski.wolnelektury.pl" lang="pl">Przewodnik dla piszących i czytających</a></li>
 
 106         <li><a href="{% url 'subscribe' %}">{% trans "Newsletter" %}</a></li>
 
 110     <section class="infopages-box">
 
 111       <h1>{% trans "Information" %}</h1>
 
 113         <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
 
 114         {% infopages_on_main %}
 
 117       <div class="social-links">
 
 118         <a href="https://www.facebook.com/wolnelektury/" title='Wolne Lektury @ Facebook'>
 
 119           <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
 
 121         <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
 
 122           <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
 
 130 {% block add_footer %}
 
 134         {% trans "Image used:" %}
 
 135         {% cache 3600 cite_info cite.pk %}
 
 136           {% include 'social/cite_info.html' %}