summaryrefslogtreecommitdiff
path: root/templates/index.html
blob: a020bb10632ab8b33fc961714c1dd82357b48347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% extends "base.html" %}
{% block content %}
<section id="content">
{% block content_title %}
{% endblock %}

{% for article in articles_page.object_list %}
	<article class="hentry">
                <header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
                <div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content -->
                <footer class="post-info">
                    <time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time>
                </footer><!-- /.post-info -->
        </article>
{% endfor %}
{% if articles_page.has_other_pages() %}
    {% include 'pagination.html' %}
{% endif %}
</section><!-- /#content -->
{% endblock content %}