X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8559c95597de98e8f6c580e97224ed3ecc9dc5c0..c4494a95679cd041e15c4f6b42d4927f107b2db7:/templates/catalogue/main_page.html?ds=sidebyside diff --git a/templates/catalogue/main_page.html b/templates/catalogue/main_page.html index 44fe7d449..db7c95de3 100644 --- a/templates/catalogue/main_page.html +++ b/templates/catalogue/main_page.html @@ -1,13 +1,11 @@ {% extends "base.html" %} -{% load catalogue chunks %} +{% load catalogue_tags chunks cache %} {% block bodyid %}main-page{% endblock %} {% block extrahead %} <script type="text/javascript" charset="utf-8"> $(function() { - $('#id_q').labelify({labelledClass: 'blur'}); - $('#categories-list ul').columnize({width: 180}); $('#themes-list ul').columnize({width: 180}); }); @@ -15,8 +13,12 @@ {% endblock %} {% block body %} - <form action="." method="get" accept-charset="utf-8" id="search-form"> - <p>{{ form.q }} <input type="submit" value="Szukaj" /> <strong>lub</strong> <a href="{% url catalogue.views.book_list %}">zobacz spis utworów</a> w naszym zbiorze</p> + <div id="site-description"> + {% chunk "site-description" %} + </div> + <div class="clearboth"></div> + <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form"> + <p>{{ form.q }} {{ form.tags }} <input type="submit" value="Szukaj" /> <strong>lub</strong> <a href="{% url catalogue.views.book_list %}">zobacz spis utworów</a> w naszym zbiorze</p> </form> <div id="tags-list"> @@ -81,6 +83,8 @@ <div id="latest-blog-posts"> <h2>AktualnoÅci z naszego bloga</h2> + {% cache 1800 latest-blog-posts %} {% latest_blog_posts "http://wolnepodreczniki.pl/feed/?s=Wolne%20Lektury" %} + {% endcache %} </div> {% endblock %}