1 {% extends '2022/base.html' %}
2 {% load catalogue_tags %}
4 {% load choose_cites from social_tags %}
7 {% block breadcrumbs %}
8 <a href="/katalog/"><span>Katalog</span></a>
10 <a href="{{ tags.0.get_absolute_catalogue_url }}"><span>{{ tags.0.get_category_display|title }}</span></a>
15 <div class="l-section">
16 <div class="l-author__header">
19 <img src="{{ tags.0.photo.url }}" alt="{{ tags.0.name }}">
32 <div class="l-section">
33 <div class="l-books__header">
34 <div class="l-books__input">
35 <i class="icon icon-filter"></i>
36 <input type="text" placeholder="filtry, tytuł" class="quick-filter" data-for="book-list" data-filters="with-filter">
37 <div class="filter-container">
39 {% if forloop.counter > 1 %}
40 <span class="filter filter-category-{{ tag.category }}">
41 <a href="{% catalogue_url list_type tag %}">{{ tag }}</a>
42 <a href="{% catalogue_url list_type tags -tag %}">✖</a>
50 <div class="l-books__sorting">
53 <button data-order="data-pop">najpopularniejsze</button>
54 <button class="is-active">alfabetycznie</button>
55 <!--button>chronologicznie</button-->
60 <div class="l-author with-filter">
63 <h2>{% nice_title_from_tags tags categories %}</h2>
65 <div class="filter-container">
66 {% for tag in suggest %}
67 <span class="filter filter-category-{{ tag.category }}">
68 <a href="{% catalogue_url list_type tags tag %}">{{ tag }}</a>
76 <div class="l-section l-section--col">
77 <div class="l-books__grid" id="book-list">
78 {% for book in object_list %}
79 {% include "catalogue/2022/book_box.html" %}
85 <section class="l-section">
86 <div class="l-author">
87 {% with author=tags.0 %}
88 {% include 'catalogue/2022/author_box.html' %}
90 {% choose_cites 3 author=tags.0 as cites %}
93 <div class="l-author__quotes">
94 <div class="l-author__quotes__slider">
96 {% for fragment in cites %}
97 <div class="l-author__quotes__slider__item">
98 {% include "catalogue/2022/fragment_box.html" %}