aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/index.html
blob: a54ae31e093f0fb15be1af42e22b1405322f1499 (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
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Accueil{% endblock %}

{% block content %}
 {% if articles %}
  {% for article in (articles_page.object_list if articles_page else articles) %}  

    {% import 'abstract.html' as abstract with context %}
    {{ abstract.abstract(article, "h1") }}

    {% if not loop.last %}
        <hr>
    {% endif %}

  {% endfor %}

  {% include 'navigator.html' %}

 {% if FEED_RSS %}
    <a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" ><img src="../theme/images/rss.png" /></a>
 {% endif %}

 {% if FEED_ATOM %}
    <a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" ><img src="../theme/images/atom.png" /></a>
 {% endif %}

 {% endif %}
{% endblock %}