summaryrefslogtreecommitdiff
path: root/theme/templates/abstract.html
blob: 5d10bfc73ca8675ea2a7f506d9e93298b1a588eb (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
{% 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" style="width: 75px">
                    <img src="{{ SITEURL }}/{{article.logo}}" >
                </div>
            {% endif %}
        
            {{ article.summary }}
        <div class="clear" />
      </section>
    </article>

  {% endfor %}

  {% include 'navigator.html' %}
{% endmacro %}
/span>">{{ related_post.title }}</a></li> {% endfor %} </ul> {% endif %} {% if DISQUS_SITENAME %} <div class="comments"> <h2>Commentaires&nbsp;:</h2> <div id="disqus_thread"></div> <script type="text/javascript"> var disqus_identifier = "{{ article.url }}"; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> </div> {% endif %} {% endblock %}