removed author/genre/kind/period boxes on main page
[wolnelektury.git] / src / wolnelektury / templates / main_page.html
index 44f05a8..f2e6863 100755 (executable)
@@ -43,6 +43,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 }}">
       </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>