1 {% extends "base.html" %}
 
   2 {% load static from staticfiles %}
 
   3 {% load i18n catalogue_tags infopages_tags social_tags %}
 
   4 {% load ssi_include from ssify %}
 
   8 {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
 
   9 {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
 
  11 {% block body %}{% spaceless %}
 
  13   {% choose_cite as cite_pk %}
 
  15     {% ssi_include 'social_cite_main' pk=cite_pk %}
 
  18   <section id="main-library">
 
  19     <h1>W naszej cyfrowej bibliotece znajdziesz</h1>
 
  20     <div class="main-library-row">
 
  22         {% for book in best %}
 
  23           {% cache 86400 book_mini_box book.pk %}
 
  24             {% include 'catalogue/book_mini_box.html' %}
 
  26           {#% ssi_include 'catalogue_book_mini' pk=b.pk %#}
 
  29       <div class="note white-box normal-text" style="font-size: 18px">
 
  30         i wiele innych książek, wierszy, obrazów, audiobooków…
 
  35   <section id="main-theme">
 
  36     <h1>Motywy i tematy</h1>
 
  37     <div class="white-box normal-text">
 
  38       <h2>{% trans "Theme" %}: {{ theme }}</h2>
 
  39       <p>Utwory, w których występuje ten motyw:</p>
 
  40       {% for book in theme_books %}
 
  41         {% cache 86400 book_mini_box book.pk %}
 
  42           {% include 'catalogue/book_mini_box.html' %}
 
  44         {#% ssi_include 'catalogue_book_mini' pk=book.pk %#}
 
  46       {% if theme_fragment %}
 
  47         {% ssi_include 'catalogue_fragment_promo' pk=theme_fragment.pk %}
 
  50     <a class="more" href="{% url 'theme_catalogue' %}">Zobacz katalog motywów</a>
 
  54   <section class="tag-box-section">
 
  56     <a class="tag-box" href="{{ author.get_absolute_url }}">
 
  57       {% ssi_include "catalogue_tag_box" pk=author.pk %}
 
  59     <a class="more" href="{% url 'author_catalogue' %}">Zobacz katalog autorów</a>
 
  62   <section class="tag-box-section">
 
  64     <a class="tag-box" href="{{ genre.get_absolute_url }}">
 
  65       {% ssi_include "catalogue_tag_box" pk=genre.pk %}
 
  67     <a class="more" href="{% url 'genre_catalogue' %}">Zobacz katalog gatunków</a>
 
  70   <section class="tag-box-section">
 
  72     <a class="tag-box" href="{{ kind.get_absolute_url }}">
 
  73       {% ssi_include "catalogue_tag_box" pk=kind.pk %}
 
  75     <a class="more" href="{% url 'kind_catalogue' %}">Zobacz katalog rodzajów</a>
 
  78   <section class="tag-box-section">
 
  80     <a class="tag-box" href="{{ epoch.get_absolute_url }}">
 
  81       {% ssi_include "catalogue_tag_box" pk=epoch.pk %}
 
  83     <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
 
  90       {% ssi_include 'catalogue_collection_box' pk=collection.pk %}
 
  91       <a class="more" href="{% url 'catalogue_collections' %}">Zobacz katalog kolekcji</a>
 
  96     <h1>{% trans "Recent publications" %}</h1>
 
  97       {% for book in last_published %}
 
  98         {% cache 86400 book_mini_box book.pk %}
 
  99           {% include 'catalogue/book_mini_box.html' %}
 
 101         {#% ssi_include 'catalogue_book_mini' pk=book.pk %#}
 
 103     <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
 
 106   <div class="clearboth"></div>
 
 108   <section class="infopages-box">
 
 109     <h1>{% trans "News" %}</h1>
 
 110     {% ssi_include 'latest_blog_posts' %}
 
 114   <section class="infopages-box">
 
 115     <h1>{% trans "Utilities" %}</h1>
 
 118       <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
 
 119       <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
 
 120       <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
 
 121 <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
 
 122       <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
 
 123       <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
 
 124       <li><a href="{% url 'api' %}">API</a></li>
 
 125       {#<li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>#}
 
 126       <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
 
 127       <li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>
 
 132   <section class="infopages-box">
 
 133     <h1>{% trans "Information" %}</h1>
 
 135       <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
 
 136       {% infopages_on_main %}
 
 139     <div class="social-links">
 
 140       <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
 
 141         <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
 
 143       <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
 
 144         <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
 
 149 {% endspaceless %}{% endblock %}
 
 152 {% block add_footer %}{% spaceless %}
 
 154     <p>{% trans "Image used:" %}
 
 155       {% ssi_include 'social_cite_info' pk=cite_pk %}
 
 158 {% endspaceless %}{% endblock %}