X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b39c329ecd604d815de1f772ed9c2e9598db4c46..2f331ef41f1d5db23305ec79a02dfbff342ce893:/src/wolnelektury/templates/main_page.html diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html index 369d6f603..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,11 +25,11 @@ {{ book.mini_box }} {% endfor %} </div> - <a href="{% if recommended_collection %}{{ recommended_collection.get_absolute_url }}{% else %}{% url "book_list" %}{% endif %}"> - <div class="note white-box normal-text" style="font-size: 18px"> + <div class="note white-box normal-text" style="font-size: 18px"> + <a href="{% if recommended_collection %}{{ recommended_collection.get_absolute_url }}{% else %}{% url "book_list" %}{% endif %}" style="display: block; height: 100%"> {% trans "and many other books, poems, pictures, audiobooksâ¦" %} - </div> - </a> + </a> + </div> </div> </section> @@ -78,13 +80,15 @@ </div> </section> - <div class="clearboth"></div> + <div id="main-footer" class="clearboth"></div> <section class="infopages-box"> <h1>{% trans "News" %}</h1> - {% cache 1800 latest_blog_posts %} - {% latest_blog_posts %} - {% endcache %} + <ol> + {% cache 1800 latest_blog_posts %} + {% latest_blog_posts %} + {% endcache %} + </ol> </section> <section class="infopages-box"> @@ -115,12 +119,9 @@ </ul> <div class="social-links"> - <a href="https://www.facebook.com/wolnelektury/" title='Wolne Lektury @ Facebook'> + <a href="https://www.facebook.com/wolnelektury/" title='{% trans "Follow us on Facebook" %}'> <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" /> </a> - <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'> - <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" /> - </a> </div> </section> {% endspaceless %}