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

@ -9,6 +9,11 @@
<header id="banner" class="body">
<h1><a href="{{ BLOGURL }}">{{ BLOGNAME }} <strong>{{ BLOGSUBTITLE }}</strong></a></h1>
</header><!-- /#banner -->
{% if categories %}<ul>
{% for category, articles in categories %}
<li><a href="category/{{category}}.html">{{ category }}</a></li>
{% endfor %}
</ul> {% endif %}
{% block content %}
{% endblock %}
<footer id="contentinfo" class="body">