X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/87e084d47c335cd6f0b3e91d614999f55d148044..702b1be959697fb38deb0bbad9b7472d07046e04:/src/wolnelektury/templates/main_page.html?ds=sidebyside

diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html
index 44f05a8b5..564f4151a 100755
--- a/src/wolnelektury/templates/main_page.html
+++ b/src/wolnelektury/templates/main_page.html
@@ -22,9 +22,11 @@
                 {% ssi_include 'catalogue_book_mini' pk=b.pk %}
             {% endfor %}
             </div>
-            <div class="note white-box normal-text" style="font-size: 18px">
-            i wiele innych książek, wierszy, obrazów, audiobooków…
-            </div>
+            <a href="{% url "book_list" %}">
+                <div class="note white-box normal-text" style="font-size: 18px">
+                    i wiele innych książek, wierszy, obrazów, audiobooków…
+                </div>
+            </a>
         </div>
     </section>
 
@@ -43,6 +45,7 @@
         <a class="more" href="{% url 'theme_catalogue' %}">Zobacz katalog motywów</a>
     </section>
 
+    {% comment %}
     <section class="tag-box-section">
         <h1>Autorzy</h1>
       <a class="tag-box" href="{{ author.get_absolute_url }}">
@@ -74,12 +77,15 @@
       </a>
         <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
     </section>
-
-    <section>
-        <h1>Kolekcje</h1>
-        {% ssi_include 'catalogue_collection_box' pk=collection.pk %}
-        <a class="more" href="{% url 'catalogue_collections' %}">Zobacz katalog kolekcji</a>
-    </section>
+    {% endcomment %}
+
+    {% if collection %}
+        <section>
+            <h1>Kolekcje</h1>
+            {% ssi_include 'catalogue_collection_box' pk=collection.pk %}
+            <a class="more" href="{% url 'catalogue_collections' %}">Zobacz katalog kolekcji</a>
+        </section>
+    {% endif %}
 
     <section>
         <h1>{% trans "Recent publications" %}</h1>