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 %}
 
  14 {% block footerlink %}#main-footer{% endblock %}
 
  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 %}
 
  28         <div class="note white-box normal-text" style="font-size: 18px">
 
  29           <a href="{% if recommended_collection %}{{ recommended_collection.get_absolute_url }}{% else %}{% url "book_list" %}{% endif %}" style="display: block; height: 100%">
 
  30             {% trans "and many other books, poems, pictures, audiobooks…" %}
 
  38         <a  href="{% url 'recent_list' %}">
 
  39           {% trans "Recent publications" %}
 
  43       {% for book in last_published %}
 
  51           <a href="{% url 'catalogue_collections' %}">
 
  52             {% trans "Collections" %}
 
  56         {% for collection in collections %}
 
  62     <section id="main-theme">
 
  64         <a href="{% url 'theme_catalogue' %}">
 
  65           {% trans "Motifs and themes" %}
 
  69       <div class="white-box normal-text">
 
  70         <h2>{% trans "Theme" %}: {{ theme }}</h2>
 
  71         <p>{% trans "Explore works with the same theme" %}</p>
 
  72         {% for book in theme_books %}
 
  75         {% if theme_fragment %}
 
  76           {% cache 3600 fragment_promo theme_fragment.pk %}
 
  77             {% include 'catalogue/fragment_promo.html' with fragment=theme_fragment %}
 
  83     <div id="main-footer" class="clearboth"></div>
 
  85     <section class="infopages-box">
 
  86       <h1>{% trans "News" %}</h1>
 
  88         {% cache 1800 latest_blog_posts %}
 
  89           {% latest_blog_posts %}
 
  94     <section class="infopages-box">
 
  95       <h1>{% trans "Utilities" %}</h1>
 
  98         <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
 
  99         <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
 
 100         <li><a href="{% url 'gallery' %}">{% trans "Art" %}</a></li>
 
 101         <li><a href="{% url 'catalogue' %}">{% trans "All works" %}</a></li>
 
 103         <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
 
 104         <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
 
 105         <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
 
 106         <li><a href="{% url 'api' %}">API</a></li>
 
 107         <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
 
 108         <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
 
 109         <li><a href="https://polski.wolnelektury.pl" lang="pl">Przewodnik dla piszących i czytających</a></li>
 
 110         <li><a href="{% url 'subscribe' %}">{% trans "Newsletter" %}</a></li>
 
 114     <section class="infopages-box">
 
 115       <h1>{% trans "Information" %}</h1>
 
 117         <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
 
 118         {% infopages_on_main %}
 
 121       <div class="social-links">
 
 122         <a href="https://www.facebook.com/wolnelektury/" title='{% trans "Follow us on Facebook" %}'>
 
 123           <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
 
 131 {% block add_footer %}
 
 135         {% trans "Image used:" %}
 
 136         {% cache 3600 cite_info cite.pk %}
 
 137           {% include 'social/cite_info.html' %}