fixes
[wolnelektury.git] / src / catalogue / templates / catalogue / 2022 / tag_catalogue.html
1 {% extends '2022/base.html' %}
2 {% load thumbnail %}
3
4
5 {% block settings %}
6 {% endblock %}
7
8 {% block breadcrumbs %}
9   <span>{{ whole_category }}</span>
10 {% endblock %}
11
12
13 {% block main %}
14   <div class="l-section">
15     <div class="l-author__header">
16       <h1>{{ whole_category }}</h1>
17     </div>
18   </div>
19
20   <div class="l-search-bar">
21     <div class="l-search-bar__input">
22       <i class="icon icon-filter"></i>
23       <input type="text" placeholder="filtry, tytuł" class="quick-filter" data-for="tag-list">
24     </div>
25   </div>
26
27
28   <div class="l-section l-taglist">
29     <ul id="tag-list">
30       {% for tag in tags %}
31         <li>
32           {% if tag.photo %}
33             {% thumbnail tag.photo '40x40' crop='center' as thumb %}
34             <img src="{{ thumb.url }}" class="c-avatar">
35             {% endthumbnail %}
36           {% endif %}
37           <a class="s" href="{{ tag.get_absolute_url }}">{{ tag }} ({{ tag.count }})</a>
38         </li>
39       {% endfor %}
40     </ul>
41  </div>
42
43
44 {% endblock %}