diff --git a/theme/templates/category.html b/theme/templates/category.html index 34ed237..8b4f178 100644 --- a/theme/templates/category.html +++ b/theme/templates/category.html @@ -31,11 +31,20 @@
{% for article in articles|sort(attribute="title") %} -
- -

{{ article.title }}

-
-

{{ article.summary|striptags|e }}

+
+ {% if article.image %} +
+ + + +
+ {% endif %} +
+ +

{{ article.title }}

+
+

{{ article.summary|striptags|e }}

+
{% endfor %}