personal-site/themes/lite/templates/category.html

11 lines
267 B
HTML

{% extends "base.html" %}
{% block content %}
<h2>{{ category }}</h2>
{% for article in articles_page.object_list if article.category == category %}
<h3><a href="{{ article.url }}">{{ article.title }}</a></h3>
{{ article.summary }}
{% endfor %}
{% endblock %}