X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..cafca91e28661f24abbcda91c733de7e77d16e86:/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 %}