Cutting stuff out.
[wolnelektury.git] / src / catalogue / templates / catalogue / 2022 / tag_catalogue.html
index 3d54c0b..a44e5b2 100644 (file)
       {% for tag in tags %}
         <li>
           {% if tag.photo %}
-            {% thumbnail tag.photo '40x40' crop='center' as thumb %}
+            {% thumbnail tag.photo '40x40' crop='top' as thumb %}
             <img src="{{ thumb.url }}" class="c-avatar">
             {% endthumbnail %}
           {% endif %}
-          <a class="s" href="{{ tag.get_absolute_url }}">{{ tag }}</a>
+          <a class="s" href="{{ tag.get_absolute_url }}">{{ tag }} ({{ tag.count }})</a>
         </li>
       {% endfor %}
     </ul>