Sponsor pages.
[wolnelektury.git] / src / wolnelektury / templates / 2022 / main_page.html
index 35149f3..b7c7c54 100644 (file)
       <section class="l-section">
         <div class="l-collections js-collections">
           <div class="l-collections__header">
       <section class="l-section">
         <div class="l-collections js-collections">
           <div class="l-collections__header">
-            <h3>{{ recommended_collection.title }}</h3>
+            <h3><a href="{{ recommended_collection.get_absolute_url }}">{{ recommended_collection.title }}</a></h3>
+            {% comment %}
             <div class="l-your-books__header__actions">
               <button class="js-prev-slide"><i class="icon icon-arrow-left"></i></button>
               <button class="js-next-slide"><i class="icon icon-arrow-right"></i></button>
             </div>
             <div class="l-your-books__header__actions">
               <button class="js-prev-slide"><i class="icon icon-arrow-left"></i></button>
               <button class="js-next-slide"><i class="icon icon-arrow-right"></i></button>
             </div>
+            {% endcomment %}
           </div>
           <div class="l-books">
           </div>
           <div class="l-books">
-            {% for book in recommended_collection.get_books %}
+            {% for book in recommended_collection.get_5_books %}
               {% include 'catalogue/2022/book_box.html' %}
             {% endfor %}
           </div>
               {% include 'catalogue/2022/book_box.html' %}
             {% endfor %}
           </div>
               <h3>
                 Zapisz się na nasz <strong>Newsletter!</strong>
               </h3>
               <h3>
                 Zapisz się na nasz <strong>Newsletter!</strong>
               </h3>
-              <a href="{% url 'subscribe' %}/?pk_campaign=home" class="l-button l-button--default">Weź udział</a>
+              <a href="{% url 'subscribe' %}?pk_campaign=home" class="l-button l-button--default">Weź udział</a>
             </div>
           </div>
         </div>
             </div>
           </div>
         </div>