X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d0072de89eb395f99aedcdf7804e48b547cbbeca..ee7f2fa4a7e08ca2f8c88f2a521ef65cbca3aac4:/wolnelektury/templates/main_page.html diff --git a/wolnelektury/templates/main_page.html b/wolnelektury/templates/main_page.html index b4907129b..bcf76065d 100755 --- a/wolnelektury/templates/main_page.html +++ b/wolnelektury/templates/main_page.html @@ -1,8 +1,9 @@ {% extends "base.html" %} -{% load cache i18n catalogue_tags infopages_tags social_tags %} +{% load cache chunks i18n catalogue_tags infopages_tags social_tags %} {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %} +{% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %} {% block body %} @@ -14,21 +15,17 @@
-
-

Trwa konkurs

-
-
-

Konkurs poezji automatycznej

-
-

Znacie Leśmianatora? To niewielki skrypt miskujący na życzenie - wiersze z Wolnych Lektur.

-
-
+

+ {% trans "What's new?" %} +

+
+ {% chunk "promo" %} +
-

Ostatnie publikacje

- {% cache 300 last-published-on-main %} +

{% trans "Recent publications" %}

+ {% cache 60 last-published-on-main %} {% for book in last_published %} {% book_mini book %} {% endfor %} @@ -37,7 +34,7 @@
-

Aktualności

+

{% trans "News" %}

{% cache 1800 latest-blog-posts %} {% latest_blog_posts "http://nowoczesnapolska.org.pl/category/wolne-lektury/feed/" %} {% endcache %} @@ -45,14 +42,13 @@
-

Narzędzia

+

{% trans "Utilities" %}

@@ -60,16 +56,16 @@
-

Informacje

- {% cache 300 infopages-on-main LANGUAGE_CODE %} +

{% trans "Information" %}

+ {% cache 60 infopages-on-main LANGUAGE_CODE %} {% infopages_on_main %} {% endcache %}
@@ -77,3 +73,12 @@ {% endspaceless %} {% endblock %} + + +{% block add_footer %} +

{% trans "Image used:" %} +books about architecture, +saikofish@Flickr, +CC BY NC SA. +

+{% endblock %}