aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/abstract.html
blob: d8fa52319cab15e641e61088e21fcf88edd5df19 (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
{% macro abstract(title_level) %}
  {% for article in (articles_page.object_list if articles_page else articles) %}  
    <article class="post">
    <{{title_level}} class="title"><a href="{{ SITEURL }}/{{ article.url}}">{{article.title }}</a></{{title_level}}>


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

            {% if article.logo %}
                <div class="floatleft figure">
                    <img src="{{ SITEURL }}/{{article.logo}}" style="max-width: 75px">
                </div>
            {% endif %}
        
            {{ article.summary }}
            <div class="floatright">
                <a href="{{ SITEURL }}/{{ article.url}}">lire la suite</a>
            </div>
        <div class="clear" />
      </section>
    </article>

  {% endfor %}

  {% include 'navigator.html' %}
{% endmacro %}