X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/590be2077917fbeb3ee169604bef99b42029ffba..ba83b8311a93602de7f733c9a9e183e3ebbb006c:/src/wolnelektury/templates/main_page.html?ds=sidebyside diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html index 74eaec928..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 %} +
@@ -79,7 +97,7 @@
@@ -101,12 +119,9 @@ {% endspaceless %}