Change a bit the templates to list all the article with their content by

category too.
This commit is contained in:
Alexis Metaireau 2010-09-19 22:29:56 +01:00
commit ecd9a83ac8
3 changed files with 12 additions and 8 deletions

View file

@ -1,10 +1,5 @@
{% extends "base.html" %}
{% block content %}
Articles in the {{ category }} category.
<ul>
{% for article in articles %}
<li><a href="../{{ article.url }}">{{ article.title }}</a></li>
{% endfor %}
</ul>
{% extends "index.html" %}
{% block content_title %}
<h2>Articles in the {{ category }} category</h2>
{% endblock %}