X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/eb59143b0d1b21cfcbe1b7067f027d768fa88fcc..8fc17a12a92f649f2b9dd8c884a85d1a7232f248:/wolnelektury/templates/main_page.html?ds=inline diff --git a/wolnelektury/templates/main_page.html b/wolnelektury/templates/main_page.html index 2f9648fa6..988bbb344 100755 --- a/wolnelektury/templates/main_page.html +++ b/wolnelektury/templates/main_page.html @@ -24,7 +24,7 @@ <div class="grid-line" id="promo-box-header"> <h2 class="mono">Trwa konkurs</h2> </div> - <div id="promo-box-body"> + <div id="promo-box-body" class="accent4"> <p id="promo-box-title" class="mono"><span>Konkurs poezji automatycznej</span></p> <div id="promo-box-content"> <p>Znacie LeÅmianatora? To niewielki skrypt miskujÄ cy na życzenie @@ -35,9 +35,11 @@ <h2 class="main-last"><span class="mono">Ostatnie publikacje</span></h2> - {% for book in last_published %} - {{ book.mini_box }} - {% endfor %} + {% cache 300 last-published-on-main %} + {% for book in last_published %} + {% book_mini book %} + {% endfor %} + {% endcache %} <div class="clearboth"></div> @@ -66,12 +68,15 @@ <div class="infopages-box"> <h2><span class='mono'>Informacje</span></h2> - - {% infopages_on_main %} + {% cache 300 infopages-on-main LANGUAGE_CODE %} + {% infopages_on_main %} + {% endcache %} <div class="social-links"> - <a href="http://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268"><img src="{{ STATIC_URL }}img/social/facebook.png" alt="WolneLektury @ Facebook" /></a> - <a href="http://nk.pl/profile/30441509"><img src="{{ STATIC_URL }}img/social/naszaklasa.png" alt="WolneLektury @ NK" /></a> + <a href="http://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" + title='Wolne Lektury @ Facebook'>[f]</a> + <a href="http://nk.pl/profile/30441509" + title='Wolne Lektury @ NK'>[nk]</a> </div> </div>