+ {{ article.title }}
-
+
- {{ article.summary }}
-
+ {{ ' '.join(article.content.split(' ')[0:75])|striptags }}...
+
{% endfor %}
diff --git a/templates/categories.html b/templates/categories.html
index 0dbfb27..bf0c832 100644
--- a/templates/categories.html
+++ b/templates/categories.html
@@ -6,19 +6,23 @@
{% block content %}
-
Categories
+
Categories
{% for category, articles in categories %}
{% for article in articles %}
- {{ article.title }}
- {{ article.locale_date}} • {{ article.category }}
- {{ article.summary }}
-
+ {{ article.title }}
+
+
+
+ {{ ' '.join(article.content.split(' ')[0:75])|striptags }}...
{% endfor %}
+
+
+
{% endfor %}
{% endblock %}