1 {% extends "base/base.html" %}
 
   2 {% load latest_blog_posts from blog %}
 
   3 {% load carousel from social_tags %}
 
   4 {% load static from staticfiles %}
 
   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="{% url "book_list" %}">
 
  27           <div class="note white-box normal-text" style="font-size: 18px">
 
  28             {% trans "and many other books, poems, pictures, audiobooks…" %}
 
  34     <section id="main-theme">
 
  35       <h1>{% trans "Motifs and themes" %}</h1>
 
  36       <div class="white-box normal-text">
 
  37         <h2>{% trans "Theme" %}: {{ theme }}</h2>
 
  38         <p>{% trans "Explore works with the same theme" %}</p>
 
  39         {% for book in theme_books %}
 
  42         {% if theme_fragment %}
 
  43           {% cache 3600 fragment_promo theme_fragment.pk %}
 
  44             {% include 'catalogue/fragment_promo.html' with fragment=theme_fragment %}
 
  48       <a class="more" href="{% url 'theme_catalogue' %}">{% trans "See motifs catalog" %}</a>
 
  53         <h1>{% trans "Collections" %}</h1>
 
  55         <a class="more" href="{% url 'catalogue_collections' %}">{% trans "See collections catalog" %}</a>
 
  60       <h1>{% trans "Recent publications" %}</h1>
 
  61         {% for book in last_published %}
 
  64       <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
 
  67     <div class="clearboth"></div>
 
  69     <section class="infopages-box">
 
  70       <h1>{% trans "News" %}</h1>
 
  71       {% cache 1800 latest_blog_posts %}
 
  72         {% latest_blog_posts %}
 
  76     <section class="infopages-box">
 
  77       <h1>{% trans "Utilities" %}</h1>
 
  80         <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
 
  81         <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
 
  82         <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
 
  83         <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
 
  84         <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
 
  85         <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
 
  86         <li><a href="{% url 'api' %}">API</a></li>
 
  87         <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
 
  88         <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
 
  89         <li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>
 
  90         <li><a href="{% url 'subscribe' %}">{% trans "Newsletter" %}</a></li>
 
  94     <section class="infopages-box">
 
  95       <h1>{% trans "Information" %}</h1>
 
  97         <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
 
  98         {% infopages_on_main %}
 
 101       <div class="social-links">
 
 102         <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
 
 103           <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
 
 105         <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
 
 106           <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
 
 114 {% block add_footer %}
 
 118         {% trans "Image used:" %}
 
 119         {% cache 3600 cite_info cite.pk %}
 
 120           {% include 'social/cite_info.html' %}