X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d5e9c90ba3f53d91c32c971a45bc778e29c74aaf..7bc61c00286672b6d39f6e45ed948b2c858cc2de:/src/wolnelektury/templates/main_page.html diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html index 1bec4c2e7..de612210a 100644 --- a/src/wolnelektury/templates/main_page.html +++ b/src/wolnelektury/templates/main_page.html @@ -11,6 +11,8 @@ {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %} {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %} +{% block footerlink %}#main-footer{% endblock %} + {% block body %} {% spaceless %} {% carousel 'main' %} @@ -23,16 +25,47 @@ {{ book.mini_box }} {% endfor %} - -
+
+ {% trans "and many other books, poems, pictures, audiobooks…" %} -
- + +
+
+

+ + {% trans "Recent publications" %} + → + +

+ {% for book in last_published %} + {{ book.mini_box }} + {% endfor %} +
+ + {% if collections %} +
+

+ + {% trans "Collections" %} + → + +

+ {% for collection in collections %} + {{ collection.box }} + {% endfor %} +
+ {% endif %} +
-

{% trans "Motifs and themes" %}

+

+ + {% trans "Motifs and themes" %} + → + +

{% trans "Theme" %}: {{ theme }}

{% trans "Explore works with the same theme" %}

@@ -45,32 +78,17 @@ {% endcache %} {% endif %}
- {% trans "See motifs catalog" %} -
- - {% if collection %} -
-

{% trans "Collections" %}

- {{ collection.box }} - {% trans "See collections catalog" %} -
- {% endif %} - -
-

{% trans "Recent publications" %}

- {% for book in last_published %} - {{ book.mini_box }} - {% endfor %} - {% trans "More recent publications" %}
-
+

{% trans "News" %}

- {% cache 1800 latest_blog_posts %} - {% latest_blog_posts %} - {% endcache %} +
    + {% cache 1800 latest_blog_posts %} + {% latest_blog_posts %} + {% endcache %} +
@@ -101,12 +119,9 @@
{% endspaceless %}