diff --git a/links/templates/links/tag_list.html b/links/templates/links/tag_list.html index 58cb893..b3ad8f9 100644 --- a/links/templates/links/tag_list.html +++ b/links/templates/links/tag_list.html @@ -13,35 +13,47 @@
{% for tag in tags %} -
+
{% with icon_classes="w-8 h-8 mx-auto" %} {% if forloop.counter|divisibleby:5 %} - - + + {% elif forloop.counter|divisibleby:4 %} - - + + {% elif forloop.counter|divisibleby:3 %} - - + + {% elif forloop.counter|divisibleby:2 %} - - + + {% else %} - - + + {% endif %} {% endwith %}

{{ tag.name }}

- + {{ tag.total_count }} {% trans "uses" %}
@@ -58,13 +70,15 @@
-{% endblock %} +{% endblock %} \ No newline at end of file