aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/category.html
blob: a541a1c5335e99d9b26f668569d6acf047180fb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - {{ category}}{% endblock %}

{% block content %}
 <h1 class="page_title">Articles dans la catégorie «&thinsp;{{ category }}&thinsp;»</h1>
 {% if articles %}
  {% for article in (articles_page.object_list if articles_page else articles) %}  
    <article class="post">
      <h2 class="title"><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></h2>
        <time class="meta" datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time>

      <section class="post_content">
        {{ article.summary }}
        <div class="clear" />
        {% if not loop.last %}
        <hr>
        {% endif %}
      </section>
    </article>
  {% endfor %}
 {% endif %}
 {% include 'navigator.html' %}

 {% if CATEGORY_FEED_RSS %}
    <a href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS % category|e|lower}}" ><img src="../theme/images/rss.png" /></a>
 {% endif %}

 {% if CATEGORY_FEED_ATOM %}
    <a href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM % category|e|lower}}" ><img src="../theme/images/atom.png" /></a>
 {% endif %}
 
{% endblock %}