X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8952b9530d943655e552ea660c47e850123c5105..08e687e53ba84afd39646185142e59c6bfe77783:/src/wolnelektury/templates/main_page.html diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html index 9d5b1fbb3..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 %} +
@@ -78,15 +96,17 @@
@@ -99,12 +119,9 @@ {% endspaceless %}