Add feeds per category + update the variable names.

This commit is contained in:
Alexis Metaireau 2010-09-15 12:35:55 +02:00
commit f031d13a42
3 changed files with 52 additions and 15 deletions

View file

@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block content %}
<ul>
{% for category in categories %}
<li>{{ category }}</li>
{% endfor %}
</ul>
{% endblock %}

View file

@ -0,0 +1,9 @@
{% extends "base.html" %}
{% block content %}
<ul>
{% for articles in category %}
<li><a href="{{ article.url }}">{{ article.name }}</a></li>
{% endfor %}
</ul>
{% endblock %}