1 {% extends '2022/base.html' %}
2 {% load catalogue_tags %}
3 {% load pagination_tags %}
5 {% block global-content %}
6 <div class="l-container">
7 <div class="l-breadcrumb">
8 <a href="/"><span>Strona główna</span></a>
9 <a href="/katalog/"><span>Katalog</span></a>
10 <a href="/katalog/motyw/"><span>Motyw</span></a>
11 <span>{{ main_tag.name }}</span>
17 <div class="l-section">
18 <div class="l-author__header">
19 <h1><span>Motyw:</span> {{ main_tag.name }}</h1>
24 <div class="l-section">
25 <div class="l-books__header">
26 <div class="l-books__input">
27 <i class="icon icon-filter"></i>
28 <input type="text" placeholder="filtry, tytuł" class="quick-filter" data-for="book-list" data-filters="with-filter" value="{{ request.GET.search }}">
29 <div class="filter-container">
31 {% if tag is not main_tag %}
32 <span class="filter filter-category-{{ tag.category }}">
33 <a href="{% catalogue_url view.list_type tag %}">{{ tag }}</a>
34 <a href="{% catalogue_url view.list_type tags -tag %}">✖</a>
43 <div class="with-filter">
45 <h2 class="header">{% nice_title_from_tags tags categories %}</h2>
46 {% if suggested_tags %}
47 <div class="filter-container">
48 {% for tag in suggested_tags %}
49 <span class="filter filter-category-{{ tag.category }}">
50 <a href="{% catalogue_url view.list_type tags tag %}">{{ tag }}</a>
58 {% autopaginate object_list view.themed_page_size %}
60 <div class="l-section l-section--col">
62 <div class="l-theme__col">
63 <div class="l-books__col" id="book-list">
64 {% for fragment in object_list %}
65 {% include 'catalogue/2022/fragment_box.html' %}
69 <div class="l-theme__col">
70 <div class="l-theme__info">
71 <h3>Motyw: {{ main_tag.name }}</h3>
72 {{ main_tag.description|safe }}
74 <h3>Motyw w sztuce <i class="icon icon-arrow-left"></i> <i class="icon icon-arrow-right"></i></h3>
75 <div class="l-theme__info__slider">
76 <img src="images/motyw.jpg" alt="">
77 <img src="images/motyw.jpg" alt="">
78 <img src="images/motyw.jpg" alt="">
85 {% paginate using '2022/paginate.html' %}