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="{{ main_tag.get_absolute_catalogue_url }}"><span>{{ main_tag.get_category_display|title }}</span></a>
15 <div class="l-section">
16 <div class="l-author__header">
17 {% if main_tag.photo %}
19 <img src="{{ main_tag.photo.url }}" alt="{{ main_tag.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 tag is not main_tag %}
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>
49 <div class="l-books__sorting">
52 <button data-order="data-pop">najpopularniejsze</button>
53 <button class="is-active">alfabetycznie</button>
54 <!--button>chronologicznie</button-->
59 <div class="l-author with-filter">
62 <h2>{% nice_title_from_tags tags categories %}</h2>
64 <div class="filter-container">
65 {% for tag in suggest %}
66 <span class="filter filter-category-{{ tag.category }}">
67 <a href="{% catalogue_url list_type tags tag %}">{{ tag }}</a>
75 <div class="l-section l-section--col">
76 <div class="l-books__grid" id="book-list">
77 {% for book in object_list %}
78 {% include "catalogue/2022/book_box.html" %}
84 <section class="l-section">
85 <div class="l-author">
86 {% with tag=main_tag %}
87 {% include 'catalogue/2022/author_box.html' %}
89 {% choose_cites 3 author=main_tag as cites %}
92 <div class="l-author__quotes">
93 <div class="l-author__quotes__slider">
95 {% for fragment in cites %}
96 <div class="l-author__quotes__slider__item">
97 {% include "catalogue/2022/fragment_slider_box.html" %}