summaryrefslogtreecommitdiff
path: root/theme/templates/index.html
blob: bf288a8addf63511e32194c5546a0d1fb209e064 (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
33
34
35
36
37
38
39
40
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Accueil{% endblock %}

{% block content %}
 {% if articles %}
  {% for article in (articles_page.object_list if articles_page else articles) %}  
    <article class="post">
      <h1 class="title"><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></h1>


        <time class="meta" datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time>
        <section class="post_content">

            {% if article.logo %}
            <div class="floatleft figure" style="width: 75px">
                <img src="{{article.logo}}" >
            </div>
            {% endif %}
    
            {{ article.summary }}
            <div class="clear" />
            {% if not loop.last %}
            <hr>
            {% endif %}
      </section>
    </article>
  {% 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 %}