X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d0072de89eb395f99aedcdf7804e48b547cbbeca..94924a2ca60f4f045c739cdb19d859cdcf8959af:/wolnelektury/templates/main_page.html diff --git a/wolnelektury/templates/main_page.html b/wolnelektury/templates/main_page.html index b4907129b..bcd2c75ca 100755 --- a/wolnelektury/templates/main_page.html +++ b/wolnelektury/templates/main_page.html @@ -1,5 +1,5 @@ {% 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 %} @@ -14,21 +14,12 @@
-
-

Trwa konkurs

-
-
-

Konkurs poezji automatycznej

-
-

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

-
-
+ {% chunk "promo" %}

Ostatnie publikacje

- {% cache 300 last-published-on-main %} + {% cache 60 last-published-on-main %} {% for book in last_published %} {% book_mini book %} {% endfor %} @@ -51,8 +42,7 @@
  • {% trans "Report a bug or suggestion" %}
  • Turniej Elektrybałtów
  • Leśmianator
  • -
  • {% trans "Mobile app" %}
  • -
  • {% trans "Widget" %}
  • +
  • {% trans "Missing a book?" %}
  • {% trans "Publishing plan" %}
  • @@ -61,7 +51,7 @@

    Informacje

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

    {% trans "Image used:" %} +Blue Stripes, +webtreats@Flickr, +CC BY. +

    +{% endblock %}