diff options
Diffstat (limited to 'lightweight/templates/category.html')
-rw-r--r-- | lightweight/templates/category.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lightweight/templates/category.html b/lightweight/templates/category.html index e69de29..764a6f9 100644 --- a/lightweight/templates/category.html +++ b/lightweight/templates/category.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} +{% block title %}{{ SITENAME }} - {{ category}}{% endblock %} + +{% block content %} + <h2 class="page_title">Articles dans la catégorie «{{ category }}»</h2> + {% if articles %} + {% for article in articles %} + <article class="post"> + <h2 class="title"><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></h2> + {%include 'meta.html'%} + + <section class="post_content"> + {{ article.summary }}<br /> + <a class="more" href="{{ SITEURL }}/{{ article.url }}">Lire la suite...</a> + </section> + </article> + {% endfor %} + {% endif %} +{% endblock %} |