X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e3f2ee9b6cc5c2c5dca70829cb640dda9cb825e9..af43a678694121f8b7c81a52a64d02c1b024fc57:/src/catalogue/templates/catalogue/tag_box.html diff --git a/src/catalogue/templates/catalogue/tag_box.html b/src/catalogue/templates/catalogue/tag_box.html index 1398ca9fb..f76df32cb 100644 --- a/src/catalogue/templates/catalogue/tag_box.html +++ b/src/catalogue/templates/catalogue/tag_box.html @@ -1,10 +1,11 @@ {% spaceless %} -{% load i18n %} -{% load catalogue_tags %} -
-

{% trans tag.category as c %}{{ c|capfirst }}: {{ tag }}

- {% if tag.description %} - {{ tag.description|strip_tag:"a"|safe|truncatewords_html:40 }} - {% endif %} -
+ {% load i18n %} + {% load catalogue_tags %} + +
+

{% trans tag.category as c %}{{ c|capfirst }}: {{ tag }}

+ {% if tag.description %} + {{ tag.description|strip_tag:"a"|safe|truncatewords_html:40 }} + {% endif %} +
{% endspaceless %}