aboutsummaryrefslogtreecommitdiffstats
path: root/lightweight/templates/category.html
blob: 764a6f956b1cfe46425563d66708026a0f932df8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 %}