{% extends "base/base.html" %}
{% load latest_blog_posts from blog %}
{% load carousel from social_tags %}
{% extends "base/base.html" %}
{% load latest_blog_posts from blog %}
{% load carousel from social_tags %}
{% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
{% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
{% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
{% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
- <a href="{% url "book_list" %}">
- <div class="note white-box normal-text" style="font-size: 18px">
+ <div class="note white-box normal-text" style="font-size: 18px">
+ <a href="{% if recommended_collection %}{{ recommended_collection.get_absolute_url }}{% else %}{% url "book_list" %}{% endif %}" style="display: block; height: 100%">
{% trans "and many other books, poems, pictures, audiobooks…" %}
{% trans "and many other books, poems, pictures, audiobooks…" %}
+ <section>
+ <h1>
+ <a href="{% url 'recent_list' %}">
+ {% trans "Recent publications" %}
+ →
+ </a>
+ </h1>
+ {% for book in last_published %}
+ {{ book.mini_box }}
+ {% endfor %}
+ </section>
+
+ {% if collections %}
+ <section>
+ <h1>
+ <a href="{% url 'catalogue_collections' %}">
+ {% trans "Collections" %}
+ →
+ </a>
+ </h1>
+ {% for collection in collections %}
+ {{ collection.box }}
+ {% endfor %}
+ </section>
+ {% endif %}
+
<div class="white-box normal-text">
<h2>{% trans "Theme" %}: {{ theme }}</h2>
<p>{% trans "Explore works with the same theme" %}</p>
<div class="white-box normal-text">
<h2>{% trans "Theme" %}: {{ theme }}</h2>
<p>{% trans "Explore works with the same theme" %}</p>
- {% if collection %}
- <section>
- <h1>{% trans "Collections" %}</h1>
- {{ collection.box }}
- <a class="more" href="{% url 'catalogue_collections' %}">{% trans "See collections catalog" %}</a>
- </section>
- {% endif %}
-
- <section>
- <h1>{% trans "Recent publications" %}</h1>
- {% for book in last_published %}
- {{ book.mini_box }}
- {% endfor %}
- <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
- </section>
-
- <div class="clearboth"></div>
+ <div id="main-footer" class="clearboth"></div>
<li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
<li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
<li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
<li><a href="{% url 'api' %}">API</a></li>
<li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
<li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
<li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
<li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
<li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
<li><a href="{% url 'api' %}">API</a></li>
<li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
<li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>