Layout.
[wolnelektury.git] / src / wolnelektury / templates / 2022 / main_page.html
index ccd527c..ca9d958 100644 (file)
   <main class="l-main">
 
     {% if widget %}
+      <div class="l-change-pop show"><p>{{ widget.description }}</p></div>
       <section class="l-section">
-        <iframe src="{{ widget}}" style="width: 100%; height: 600px; border: none;"></iframe>
+        <iframe src="{{ widget.url }}" style="width: 100%; height: 600px; border: none;"></iframe>
       </section>
     {% endif %}
 
 
 
   <section class="l-section">
-    <div class="l-collections js-new-books-slider">
+    <div class="l-collections js-collections">
       <div class="l-collections__header">
         <h3><a href="/katalog/nowe/">NowoĊ›ci</a></h3>
         <div class="l-your-books__header__actions">
           <button class="js-next-slide"><i class="icon icon-arrow-right"></i></button>
         </div>
       </div>
-      <div class="l-books">
+      <div class="l-books" style="display:block;">
         {% for book in last_published %}
           {% include 'catalogue/2022/book_box.html' %}
         {% endfor %}