ba25bcb640b1062c75e806e94f6601d8f3dac049
[wolnelektury.git] / src / catalogue / templates / catalogue / 2022 / collections.html
1 {% extends '2022/base.html' %}
2
3
4 {% block breadcrumbs %}
5   <a href="/katalog/"><span>Katalog</span></a>
6 {% endblock %}
7
8
9 {% block main %}
10
11   <div class="l-section">
12     <div class="l-author__header">
13       <h1>Kolekcje</h1>
14     </div>
15   </div>
16
17   {% for collection in objects %}
18     <section class="l-section">
19       <div class="l-collections js-collections">
20         <div class="l-collections__header">
21           <h3><a href="{{ collection.get_absolute_url }}">{{ collection.title }}</a></h3>
22         </div>
23           <div class="l-author__info">
24             <p>
25               {{ collection.description|safe }}
26             </p>
27           </div>
28         <div class="l-books">
29           {% for book in collection.get_books %}
30             {% include 'catalogue/2022/book_box.html' %}
31           {% endfor %}
32         </div>
33       </div>
34     </section>
35   {% endfor %}
36
37
38 {% endblock %}