{% extends "base.html" %} {% block title %}Categories{% endblock %} {% block description %}{% endblock %} {% block content %}

Categories

{% for category, articles in categories %}

{{ category|capitalize }}

{% for article in articles %}
{{ article.title }}

{{ ' '.join(article.content.split(' ')[0:75])|striptags }}...

{% endfor %}
{% endfor %}
{% endblock %}