X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7414ad8afe4df7842dc49f65a22563c008080e43..d8a368e376f9f50ff0e3714ef716df548e86bd7f:/src/wolnelektury/templates/main_page.html diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html index 2d168c6ff..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,14 +97,16 @@
@@ -99,12 +119,9 @@ {% endspaceless %}